Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
886 B · 45 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ lib, buildPythonPackage, fetchFromGitHub, setuptools, numpy, pandas,}:
buildPythonPackage rec { pname = "mean-average-precision"; version = "2024.01.05.0"; pyproject = true;
src = fetchFromGitHub { owner = "bes-dev"; repo = "mean_average_precision"; tag = version; hash = "sha256-qo160L+oJsHERVOV0qdiRIZPMjvSlUmMTrAzThfrQSs="; };
build-system = [ setuptools ];
dependencies = [ numpy pandas ];
pythonImportsCheck = [ "mean_average_precision" ];
# No tests doCheck = false;
meta = { description = "Mean Average Precision for Object Detection"; homepage = "https://github.com/bes-dev/mean_average_precision"; changelog = "https://github.com/bes-dev/mean_average_precision/blob/${version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ drupol ]; };}