python310Packages.hnswlib: init at 0.7.0
This commit is contained in:
parent
6a1255d2d0
commit
463935ed8f
32
pkgs/development/python-modules/hnswlib/default.nix
Normal file
32
pkgs/development/python-modules/hnswlib/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{ buildPythonPackage
|
||||||
|
, hnswlib
|
||||||
|
, numpy
|
||||||
|
, pybind11
|
||||||
|
, setuptools
|
||||||
|
, unittestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage {
|
||||||
|
pname = "hnswlib";
|
||||||
|
inherit (hnswlib) version src meta;
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
numpy
|
||||||
|
setuptools
|
||||||
|
pybind11
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
unittestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
unittestFlagsArray = [
|
||||||
|
"tests/python"
|
||||||
|
"--pattern 'bindings_test*.py'"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"hnswlib"
|
||||||
|
];
|
||||||
|
}
|
|
@ -4764,6 +4764,10 @@ self: super: with self; {
|
||||||
|
|
||||||
hlk-sw16 = callPackage ../development/python-modules/hlk-sw16 { };
|
hlk-sw16 = callPackage ../development/python-modules/hlk-sw16 { };
|
||||||
|
|
||||||
|
hnswlib = callPackage ../development/python-modules/hnswlib {
|
||||||
|
inherit (pkgs) hnswlib;
|
||||||
|
};
|
||||||
|
|
||||||
hmmlearn = callPackage ../development/python-modules/hmmlearn { };
|
hmmlearn = callPackage ../development/python-modules/hmmlearn { };
|
||||||
|
|
||||||
hocr-tools = callPackage ../development/python-modules/hocr-tools { };
|
hocr-tools = callPackage ../development/python-modules/hocr-tools { };
|
||||||
|
|
Loading…
Reference in a new issue