Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889{ lib, buildPythonPackage, fetchFromGitHub,
# build-system hatchling,
# dependencies aiohttp, fireworks-ai, langchain-core, openai, requests,
# tests langchain-tests, pytest-asyncio, pytestCheckHook,
# passthru gitUpdater,}:
buildPythonPackage (finalAttrs: { pname = "langchain-fireworks"; version = "1.6.1"; pyproject = true; __structuredAttrs = true;
src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; tag = "langchain-fireworks==${finalAttrs.version}"; hash = "sha256-tJduBjY+JcG9bhZYsOi7+2TdR4DTi/ZCTIaNZ87R8JM="; };
sourceRoot = "${finalAttrs.src.name}/libs/partners/fireworks";
build-system = [ hatchling ];
dependencies = [ aiohttp fireworks-ai langchain-core openai requests ];
pythonRelaxDeps = [ "fireworks-ai" "langchain-core" ];
nativeCheckInputs = [ langchain-tests pytest-asyncio pytestCheckHook ];
enabledTestPaths = [ "tests/unit_tests" ];
disabledTests = [ # Fails when langchain-core gets ahead of this package "test_serdes" ];
pythonImportsCheck = [ "langchain_fireworks" ];
passthru = { # python updater script sets the wrong tag skipBulkUpdate = true; updateScript = gitUpdater { rev-prefix = "langchain-fireworks=="; ignoredVersions = "a|b|dev|rc"; }; };
meta = { changelog = "https://github.com/langchain-ai/langchain/releases/tag/${finalAttrs.src.tag}"; description = "Build LangChain applications with Fireworks"; homepage = "https://github.com/langchain-ai/langchain/tree/master/libs/partners/fireworks"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sarahec ]; };})