python312Packages.staticvectors: init at 0.2.0

This commit is contained in:
Gaetan Lepage
2025-05-22 14:20:43 +02:00
parent c340621151
commit f4603dcf7e
2 changed files with 52 additions and 0 deletions
@@ -0,0 +1,50 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
huggingface-hub,
numpy,
safetensors,
tqdm,
}:
buildPythonPackage rec {
pname = "staticvectors";
version = "0.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "neuml";
repo = "staticvectors";
tag = "v${version}";
hash = "sha256-p3m22qLxQYma0WtkTE/GzHXkxNHjatqLOdeHh4vtyVc=";
};
build-system = [
setuptools
];
dependencies = [
huggingface-hub
numpy
safetensors
tqdm
];
pythonImportsCheck = [ "staticvectors" ];
# no tests
doCheck = false;
meta = {
description = "Work with static vector models";
homepage = "https://github.com/neuml/staticvectors";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}
+2
View File
@@ -16728,6 +16728,8 @@ self: super: with self; {
staticmap = callPackage ../development/python-modules/staticmap { };
staticvectors = callPackage ../development/python-modules/staticvectors { };
statistics = callPackage ../development/python-modules/statistics { };
statmake = callPackage ../development/python-modules/statmake { };