mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 08:26:37 +01:00
48 lines
1,008 B
Nix
48 lines
1,008 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
certifi,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
orjson,
|
|
pinecone-plugin-assistant,
|
|
pinecone-plugin-interface,
|
|
python-dateutil,
|
|
typing-extensions,
|
|
urllib3,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pinecone-client";
|
|
version = "8.1.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pinecone-io";
|
|
repo = "pinecone-python-client";
|
|
tag = "v${version}";
|
|
hash = "sha256-rXsCaH8SbMttBQWfF8Gy6hz+PVboxkLJZCs0/o6lAEI=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
dependencies = [
|
|
certifi
|
|
orjson
|
|
pinecone-plugin-assistant
|
|
pinecone-plugin-interface
|
|
python-dateutil
|
|
typing-extensions
|
|
urllib3
|
|
];
|
|
|
|
pythonImportsCheck = [ "pinecone" ];
|
|
|
|
meta = {
|
|
description = "Pinecone python client";
|
|
homepage = "https://www.pinecone.io/";
|
|
changelog = "https://github.com/pinecone-io/pinecone-python-client/releases/tag/${src.tag}";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ happysalada ];
|
|
};
|
|
}
|