Files
nixpkgs/pkgs/development/python-modules/lanms-neo/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

41 lines
796 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 = "lanms-neo";
rev = "6510e19e731a1e105d42b2fbda64de41c169ce2e";
hash = "sha256-0fs4RNN1ptiir7GfR9B8HK0VqTkk5PbVJxgKiDId3po=";
};
propagatedBuildInputs = [
pybind11
numpy
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Standalone module for Locality-Aware NMS";
homepage = "https://github.com/gen-ko/lanms-neo";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ happysalada ];
};
}