python3Packages.pycocotools: init at 2.0.2

This commit is contained in:
Martin Weinelt 2021-04-23 00:58:47 +02:00
parent cd0ffd3f5f
commit c4727f753f
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchPypi
, cython
, matplotlib
}:
buildPythonPackage rec {
pname = "pycocotools";
version = "2.0.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "06hz0iz4kqxhqby4j7bah8l41kg68bb118jawp172i4vg497lw94";
};
propagatedBuildInputs = [
cython
matplotlib
];
pythonImportsCheck = [
"pycocotools.coco"
"pycocotools.cocoeval"
];
# has no tests
doCheck = false;
meta = with lib; {
description = "Official APIs for the MS-COCO dataset";
homepage = "https://github.com/cocodataset/cocoapi/tree/master/PythonAPI";
license = licenses.bsd2;
maintainers = with maintainers; [ hexa piegames ];
};
}

View file

@ -5682,6 +5682,8 @@ in {
pycmarkgfm = callPackage ../development/python-modules/pycmarkgfm { };
pycocotools = callPackage ../development/python-modules/pycocotools { };
pycodestyle = callPackage ../development/python-modules/pycodestyle { };
pycognito = callPackage ../development/python-modules/pycognito { };