2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
47 lines
876 B
Nix
47 lines
876 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, poetry-core
|
|
, pydantic
|
|
, pythonOlder
|
|
, requests
|
|
, tenacity
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "langchainplus-sdk";
|
|
version = "0.0.21";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "langchainplus_sdk";
|
|
hash = "sha256-frjZnQnOe6IHKrQk+Q/xMc5Akb+eBQ/eBzP545Fq6Xk=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|