uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
37
pkgs/development/python-modules/pycocotools/default.nix
Normal file
37
pkgs/development/python-modules/pycocotools/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue