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,28 @@
{ lib, buildPythonPackage, fetchFromGitHub, nixosTests, six, twisted }:
buildPythonPackage rec {
pname = "txredisapi";
version = "1.4.7";
src = fetchFromGitHub {
owner = "IlyaSkriblovsky";
repo = "txredisapi";
rev = "1.4.7";
sha256 = "1f7j3c5l7jcfphvsk7nqmgyb4jaydbzq081m555kw0f9xxak0pgq";
};
propagatedBuildInputs = [ six twisted ];
doCheck = false;
pythonImportsCheck = [ "txredisapi" ];
passthru.tests.unit-tests = nixosTests.txredisapi;
meta = with lib; {
homepage = "https://github.com/IlyaSkriblovsky/txredisapi";
description = "non-blocking redis client for python";
license = licenses.asl20;
maintainers = with maintainers; [ dandellion ];
};
}