9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
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.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 ];
|
|
};
|
|
}
|