Files
nixpkgs/pkgs/development/python-modules/lanms-neo/default.nix
T
Robert Schütz 1a04744f74 treewide: remove superfluous disabled
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:

    pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
    for f in $(find -name '*.nix'); do
        grep -q "$pattern" "$f" || continue
        sed -i "/$pattern/d" "$f"
        if [ $(grep -c pythonOlder "$f") == 1 ]; then
            sed -i '/^\s*pythonOlder,\s*$/d' "$f"
        fi
        nixfmt "$f"
    done
2026-01-11 09:34:20 -08:00

38 lines
748 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
nix-update-script,
pybind11,
numpy,
}:
let
pname = "lanms-neo";
version = "1.0.2";
in
buildPythonPackage {
inherit pname version;
format = "setuptools";
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 ];
};
}