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,35 @@
{ lib, buildPythonPackage, fetchPypi
, pytest
, pytest-xdist
, six }:
buildPythonPackage rec {
pname = "lazy_import";
version = "0.2.2";
src = fetchPypi {
inherit pname version;
sha256 = "0gca9xj60qr3aprj9qdc66crr4r7hl8wzv6gc9y40nclazwawj91";
};
checkInputs = [
pytest
pytest-xdist
];
propagatedBuildInputs = [
six
];
checkPhase = ''
cd lazy_import
pytest --boxed
'';
meta = with lib; {
description = "lazy_import provides a set of functions that load modules, and related attributes, in a lazy fashion.";
homepage = "https://github.com/mnmelo/lazy_import";
license = licenses.gpl3;
maintainers = [ maintainers.marenz ];
};
}