48 lines
876 B
Nix
48 lines
876 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
|
, poetry-core
|
||
|
, pydantic
|
||
|
, pythonOlder
|
||
|
, requests
|
||
|
, tenacity
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "langchainplus-sdk";
|
||
|
version = "0.0.20";
|
||
|
format = "pyproject";
|
||
|
|
||
|
disabled = pythonOlder "3.8";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit version;
|
||
|
pname = "langchainplus_sdk";
|
||
|
hash = "sha256-PTAOLjKQ9ozJ2ELAWflFjeumDndsnnkDCWiMrRv7shk=";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [
|
||
|
poetry-core
|
||
|
];
|
||
|
|
||
|
propagatedBuildInputs = [
|
||
|
pydantic
|
||
|
requests
|
||
|
tenacity
|
||
|
];
|
||
|
|
||
|
# upstrem has no tests
|
||
|
doCheck = false;
|
||
|
|
||
|
pythonImportsCheck = [
|
||
|
"langchainplus_sdk"
|
||
|
];
|
||
|
|
||
|
meta = {
|
||
|
description = "Client library to connect to the LangChainPlus LLM Tracing and Evaluation Platform";
|
||
|
homepage = "https://pypi.org/project/langchainplus-sdk/";
|
||
|
license = lib.licenses.mit;
|
||
|
maintainers = with lib.maintainers; [ natsukium ];
|
||
|
};
|
||
|
}
|