Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / lanms-neo / default.nix
blob149f98a608ae108e0b9f5596f892fccdceb88c7b
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , nix-update-script
5 , pythonOlder
6 , pybind11
7 , numpy
8 }:
9 let
10   pname = "lanms-neo";
11   version = "1.0.2";
13 buildPythonPackage {
14   inherit pname version;
15   format = "setuptools";
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "gen-ko";
21     repo = pname;
22     rev = "6510e19e731a1e105d42b2fbda64de41c169ce2e";
23     hash = "sha256-0fs4RNN1ptiir7GfR9B8HK0VqTkk5PbVJxgKiDId3po=";
24   };
26   propagatedBuildInputs = [
27     pybind11
28     numpy
29   ];
31   passthru.updateScript = nix-update-script { };
33   meta = with lib; {
34     description = "Standalone module for Locality-Aware NMS";
35     homepage = "https://github.com/gen-ko/lanms-neo";
36     license = licenses.asl20;
37     maintainers = with maintainers; [ happysalada ];
38   };