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,25 @@
{ stdenv, lib, python, systemd }:
python.pkgs.buildPythonPackage rec {
pname = "pystemd";
version = "0.8.0";
src = python.pkgs.fetchPypi {
inherit pname version;
sha256 = "0wlrid2xd73dmzl4m0jgg6cqmkx3qs9v9nikvwxd8a5b8chf9hna";
};
disabled = python.pythonOlder "3.4";
buildInputs = [ systemd ];
checkInputs = with python.pkgs; [ pytest mock ];
checkPhase = "pytest tests";
meta = with lib; {
broken = (stdenv.isLinux && stdenv.isAarch64);
description = "A thin Cython-based wrapper on top of libsystemd, focused on exposing the dbus API via sd-bus in an automated and easy to consume way.";
homepage = "https://github.com/facebookincubator/pystemd/";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ flokli ];
};
}