2023-04-12 12:48:02 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2024-01-13 08:15:51 +00:00
|
|
|
, setuptools
|
2024-01-25 14:12:00 +00:00
|
|
|
, poetry-core
|
|
|
|
, pythonRelaxDepsHook
|
2023-04-12 12:48:02 +00:00
|
|
|
, numpy
|
|
|
|
, pyyaml
|
|
|
|
, python-dateutil
|
|
|
|
, urllib3
|
|
|
|
, tqdm
|
|
|
|
, dnspython
|
|
|
|
, requests
|
|
|
|
, typing-extensions
|
|
|
|
, loguru
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pinecone-client";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "3.0.2";
|
2024-01-13 08:15:51 +00:00
|
|
|
pyproject = true;
|
2023-04-12 12:48:02 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-01-25 14:12:00 +00:00
|
|
|
pname = "pinecone_client";
|
|
|
|
inherit version;
|
2024-02-07 01:22:34 +00:00
|
|
|
hash = "sha256-+aCDAzPuzhB7TvERneI9rWphv/q38jjmGEFtUcRtKcg=";
|
2023-04-12 12:48:02 +00:00
|
|
|
};
|
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
2024-01-25 14:12:00 +00:00
|
|
|
poetry-core
|
|
|
|
pythonRelaxDepsHook
|
2024-01-13 08:15:51 +00:00
|
|
|
];
|
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
pyyaml
|
|
|
|
python-dateutil
|
|
|
|
urllib3
|
|
|
|
tqdm
|
|
|
|
dnspython
|
|
|
|
requests
|
|
|
|
typing-extensions
|
|
|
|
loguru
|
|
|
|
];
|
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
pythonRelaxDeps = [
|
|
|
|
"urllib3"
|
|
|
|
];
|
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"pinecone"
|
|
|
|
];
|
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://www.pinecone.io/";
|
|
|
|
description = "The Pinecone python client";
|
|
|
|
license = licenses.mit;
|
2024-01-25 14:12:00 +00:00
|
|
|
maintainers = with maintainers; [ happysalada ];
|
2023-04-12 12:48:02 +00:00
|
|
|
};
|
|
|
|
}
|