My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pycocotools/default.nix

37 lines
719 B

{ lib
, buildPythonPackage
, fetchPypi
, cython
, matplotlib
}:
buildPythonPackage rec {
pname = "pycocotools";
version = "2.0.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "2ab586aa389b9657b6d73c2b9a827a3681f8d00f36490c2e8ab05902e3fd9e93";
};
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; [ piegames ];
};
}