mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-14 08:04:47 +00:00
python312Packages.mean-average-precision: init at 2024.01.05.0
This commit is contained in:
parent
8639bd0a58
commit
5d377ab649
@ -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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user