depot/third_party/nixpkgs/pkgs/development/python-modules/lanms-neo/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

39 lines
783 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, nix-update-script
, pythonOlder
, pybind11
, numpy
}:
let
pname = "lanms-neo";
version = "1.0.2";
in
buildPythonPackage {
inherit pname version;
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "gen-ko";
repo = pname;
rev = "6510e19e731a1e105d42b2fbda64de41c169ce2e";
hash = "sha256-0fs4RNN1ptiir7GfR9B8HK0VqTkk5PbVJxgKiDId3po=";
};
propagatedBuildInputs = [
pybind11
numpy
];
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Standalone module for Locality-Aware NMS";
homepage = "https://github.com/gen-ko/lanms-neo";
license = licenses.asl20;
maintainers = with maintainers; [ happysalada ];
};
}