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
, pythonOlder
, zeroconf
}:
buildPythonPackage rec {
pname = "envoy-utils";
version = "0.0.1";
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "envoy_utils";
inherit version;
sha256 = "13zn0d6k2a4nls9vp8cs0w07bgg4138vz18cadjadhm8p6r3bi0c";
};
propagatedBuildInputs = [
zeroconf
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "envoy_utils" ];
meta = with lib; {
description = "Python utilities for the Enphase Envoy";
homepage = "https://pypi.org/project/envoy-utils/";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ fab ];
};
}