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,26 @@
{ lib
, buildPythonPackage
, fetchurl
}:
buildPythonPackage rec {
pname = "distutils-extra";
version = "2.45";
src = fetchurl {
url = "https://salsa.debian.org/python-team/modules/python-distutils-extra/-/archive/${version}/python-${pname}-${version}.tar.bz2";
sha256 = "1aifizd4nkvdnkwdna7i6xgjcqi1cf228bg8kmnwz67f5rflk3z8";
};
# Tests are out-dated as the last upstream release is from 2016
doCheck = false;
pythonImportsCheck = [ "DistUtilsExtra" ];
meta = with lib; {
description = "Enhancements to Python's distutils";
homepage = "https://launchpad.net/python-distutils-extra";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ fab ];
};
}