python312Packages.staticvectors: init at 0.2.0
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user