python312Packages.mean-average-precision: init at 2024.01.05.0

This commit is contained in:
Pol Dellaiera 2024-11-02 20:21:48 +01:00
parent 8639bd0a58
commit 5d377ab649
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{
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";
rev = "refs/tags/${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 ];
};
}

View File

@ -7855,6 +7855,8 @@ self: super: with self; {
mdp = callPackage ../development/python-modules/mdp { };
mean-average-precision = callPackage ../development/python-modules/mean-average-precision { };
measurement = callPackage ../development/python-modules/measurement { };
meater-python = callPackage ../development/python-modules/meater-python { };