1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 numpy, 7 pandas, 8}: 9 10buildPythonPackage rec { 11 pname = "mean-average-precision"; 12 version = "2024.01.05.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "bes-dev"; 17 repo = "mean_average_precision"; 18 tag = version; 19 hash = "sha256-qo160L+oJsHERVOV0qdiRIZPMjvSlUmMTrAzThfrQSs="; 20 }; 21 22 build-system = [ 23 setuptools 24 ]; 25 26 dependencies = [ 27 numpy 28 pandas 29 ]; 30 31 pythonImportsCheck = [ 32 "mean_average_precision" 33 ]; 34 35 # No tests 36 doCheck = false; 37 38 meta = { 39 description = "Mean Average Precision for Object Detection"; 40 homepage = "https://github.com/bes-dev/mean_average_precision"; 41 changelog = "https://github.com/bes-dev/mean_average_precision/blob/${version}/CHANGELOG.md"; 42 license = lib.licenses.mit; 43 maintainers = with lib.maintainers; [ ]; 44 }; 45}