1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
Gaetan Lepage 2024-09-15 00:12:19 +02:00
parent e512aef210
commit f7d7fdc911

View file

@ -1,37 +1,40 @@
{
lib,
stdenv,
anthropic,
attr,
buildPythonPackage,
fetchFromGitHub,
# build-system
poetry-core,
# dependencies
orjson,
pydantic,
requests,
# tests
anthropic,
dataclasses-json,
fastapi,
fetchFromGitHub,
freezegun,
httpx,
instructor,
orjson,
poetry-core,
pydantic,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
requests,
uvicorn,
attr,
}:
buildPythonPackage rec {
pname = "langsmith";
version = "0.1.99";
version = "0.1.120";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "langchain-ai";
repo = "langsmith-sdk";
rev = "refs/tags/v${version}";
hash = "sha256-aN5HiQAXX7ZlVBzkit4DAw+7KQHI3ck1DLvBPDSKVhM=";
hash = "sha256-K8QIlyQnaTKCBoRCsTQ26KovIIw8uK6HBynEplrB6wI=";
};
sourceRoot = "${src.name}/python";
@ -89,12 +92,12 @@ buildPythonPackage rec {
__darwinAllowLocalNetworking = true;
meta = with lib; {
meta = {
description = "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform";
homepage = "https://github.com/langchain-ai/langsmith-sdk";
changelog = "https://github.com/langchain-ai/langsmith-sdk/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ natsukium ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ natsukium ];
mainProgram = "langsmith";
};
}