Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, poetry-core 5, pydantic 6, pythonOlder 7, requests 8, tenacity 9}: 10 11buildPythonPackage rec { 12 pname = "langchainplus-sdk"; 13 version = "0.0.6"; 14 format = "pyproject"; 15 16 disabled = pythonOlder "3.8"; 17 18 src = fetchPypi { 19 inherit version; 20 pname = "langchainplus_sdk"; 21 hash = "sha256-yRGpj9LQK6pI90K31wD9alXxHJpUXuXWawiCWUDJoy4="; 22 }; 23 24 nativeBuildInputs = [ 25 poetry-core 26 ]; 27 28 propagatedBuildInputs = [ 29 pydantic 30 requests 31 tenacity 32 ]; 33 34 # upstrem has no tests 35 doCheck = false; 36 37 pythonImportsCheck = [ 38 "langchainplus_sdk" 39 ]; 40 41 meta = { 42 description = "Client library to connect to the LangChainPlus LLM Tracing and Evaluation Platform"; 43 homepage = "https://pypi.org/project/langchainplus-sdk/"; 44 license = lib.licenses.mit; 45 maintainers = with lib.maintainers; [ natsukium ]; 46 }; 47}