Loading pkgs/development/python-modules/hnswlib/default.nix 0 → 100644 +32 −0 Original line number Diff line number Diff line { 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" ]; } pkgs/top-level/python-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -4764,6 +4764,10 @@ self: super: with self; { hlk-sw16 = callPackage ../development/python-modules/hlk-sw16 { }; hnswlib = callPackage ../development/python-modules/hnswlib { inherit (pkgs) hnswlib; }; hmmlearn = callPackage ../development/python-modules/hmmlearn { }; hocr-tools = callPackage ../development/python-modules/hocr-tools { }; Loading Loading
pkgs/development/python-modules/hnswlib/default.nix 0 → 100644 +32 −0 Original line number Diff line number Diff line { 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" ]; }
pkgs/top-level/python-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -4764,6 +4764,10 @@ self: super: with self; { hlk-sw16 = callPackage ../development/python-modules/hlk-sw16 { }; hnswlib = callPackage ../development/python-modules/hnswlib { inherit (pkgs) hnswlib; }; hmmlearn = callPackage ../development/python-modules/hmmlearn { }; hocr-tools = callPackage ../development/python-modules/hocr-tools { }; Loading