Gaetan Lepage 2024-09-15 13:37:01 +02:00
parent 4e835ba3b4
commit db1cd9f96f

View file

@ -2,25 +2,31 @@
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
# build-system
poetry-core,
# dependencies
boto3, boto3,
langchain-core, langchain-core,
numpy, numpy,
poetry-core,
pytestCheckHook, # tests
pytest-asyncio,
langchain-standard-tests, langchain-standard-tests,
pytest-asyncio,
pytestCheckHook,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "langchain-aws"; pname = "langchain-aws";
version = "0.1.17"; version = "0.2.0";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "langchain-ai"; owner = "langchain-ai";
repo = "langchain-aws"; repo = "langchain-aws";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-n9nQheuUZMrjZMpR3aqbrRb/AhcgiF4CFO9ROh9aFNc="; hash = "sha256-P9CfAVpKh7djhUQc3DyyJTWqs9RbrTeLyynLei0x00o=";
}; };
postPatch = '' postPatch = ''