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:
Anton Arapov 2021-04-03 12:58:10 +02:00 committed by Alan Daniels
commit 56de2bcd43
30691 changed files with 3076956 additions and 0 deletions

View file

@ -0,0 +1,63 @@
{ lib
, astropy
, astropy-extension-helpers
, astropy-healpix
, astropy-helpers
, buildPythonPackage
, cython
, fetchPypi
, numpy
, pytest-astropy
, pytestCheckHook
, pythonOlder
, scipy
, setuptools-scm
}:
buildPythonPackage rec {
pname = "reproject";
version = "0.8";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-Z54sY3R6GViTvMLHrJclrAZ1dH4/9bzIrgqDd9nFbJY=";
};
nativeBuildInputs = [
astropy-extension-helpers
astropy-helpers
cython
setuptools-scm
];
propagatedBuildInputs = [
astropy
astropy-healpix
astropy-helpers
numpy
scipy
];
checkInputs = [
pytest-astropy
pytestCheckHook
];
preCheck = ''
cd build/lib*
'';
pythonImportsCheck = [
"reproject"
];
meta = with lib; {
description = "Reproject astronomical images";
homepage = "https://reproject.readthedocs.io";
license = licenses.bsd3;
maintainers = with maintainers; [ smaret ];
};
}