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
, fetchFromGitHub
, pytestCheckHook
, six
}:
buildPythonPackage rec {
pname = "ush";
version = "3.1.0";
src = fetchFromGitHub {
owner = "tarruda";
repo = "python-ush";
rev = version;
sha256 = "sha256-eL3vG3yS02enbLYorKvvYKbju9HInffUhrZgkodwhvo=";
};
checkInputs = [
pytestCheckHook
six
];
disabledTestPaths = [
# seems to be outdated?
"tests/test_glob.py"
];
meta = with lib; {
description = "Powerful API for invoking with external commands";
homepage = "https://github.com/tarruda/python-ush";
license = licenses.mit;
maintainers = with maintainers; [ ckie ];
};
}