Commit 463935ed authored by natsukium's avatar natsukium Committed by Yt
Browse files

python310Packages.hnswlib: init at 0.7.0

parent 6a1255d2
Loading
Loading
Loading
Loading
+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"
  ];
}
+4 −0
Original line number Diff line number Diff line
@@ -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 { };