60f07311b9
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
62 lines
984 B
Nix
62 lines
984 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools
|
|
, poetry-core
|
|
, pythonRelaxDepsHook
|
|
, numpy
|
|
, pyyaml
|
|
, python-dateutil
|
|
, urllib3
|
|
, tqdm
|
|
, dnspython
|
|
, requests
|
|
, typing-extensions
|
|
, loguru
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "pinecone-client";
|
|
version = "3.0.2";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "pinecone_client";
|
|
inherit version;
|
|
hash = "sha256-+aCDAzPuzhB7TvERneI9rWphv/q38jjmGEFtUcRtKcg=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
poetry-core
|
|
pythonRelaxDepsHook
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
numpy
|
|
pyyaml
|
|
python-dateutil
|
|
urllib3
|
|
tqdm
|
|
dnspython
|
|
requests
|
|
typing-extensions
|
|
loguru
|
|
];
|
|
|
|
pythonRelaxDeps = [
|
|
"urllib3"
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"pinecone"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://www.pinecone.io/";
|
|
description = "The Pinecone python client";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ happysalada ];
|
|
};
|
|
}
|