nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 37 lines 748 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 nix-update-script, 6 pybind11, 7 numpy, 8}: 9let 10 pname = "lanms-neo"; 11 version = "1.0.2"; 12in 13buildPythonPackage { 14 inherit pname version; 15 format = "setuptools"; 16 17 src = fetchFromGitHub { 18 owner = "gen-ko"; 19 repo = "lanms-neo"; 20 rev = "6510e19e731a1e105d42b2fbda64de41c169ce2e"; 21 hash = "sha256-0fs4RNN1ptiir7GfR9B8HK0VqTkk5PbVJxgKiDId3po="; 22 }; 23 24 propagatedBuildInputs = [ 25 pybind11 26 numpy 27 ]; 28 29 passthru.updateScript = nix-update-script { }; 30 31 meta = { 32 description = "Standalone module for Locality-Aware NMS"; 33 homepage = "https://github.com/gen-ko/lanms-neo"; 34 license = lib.licenses.asl20; 35 maintainers = with lib.maintainers; [ happysalada ]; 36 }; 37}