python310Packages.lanms-neo: init at 1.0.2

This commit is contained in:
happysalada 2023-07-02 16:00:18 +08:00 committed by Yt
parent 939f0c5b90
commit 05bb118a99
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{ 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 ];
};
}

View File

@ -5594,6 +5594,8 @@ self: super: with self; {
language-tags = callPackage ../development/python-modules/language-tags { };
lanms-neo = callPackage ../development/python-modules/lanms-neo { };
lark = callPackage ../development/python-modules/lark { };
laspy = callPackage ../development/python-modules/laspy { };