depot/third_party/nixpkgs/pkgs/development/python-modules/langchainplus-sdk/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

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 ];
};
}