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,33 @@
{ lib, buildPythonPackage, fetchPypi, isPy27, isPy3k
, pbr, six, futures ? null, monotonic ? null, typing ? null, setuptools-scm
, pytest, sphinx, tornado, typeguard
}:
buildPythonPackage rec {
pname = "tenacity";
version = "8.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "43242a20e3e73291a28bcbcacfd6e000b02d3857a9a9fff56b297a27afdc932f";
};
nativeBuildInputs = [ pbr setuptools-scm ];
propagatedBuildInputs = [ six ]
++ lib.optionals isPy27 [ futures monotonic typing ];
checkInputs = [ pytest sphinx tornado ]
++ lib.optionals isPy3k [ typeguard ];
checkPhase = if isPy27 then ''
pytest --ignore='tenacity/tests/test_asyncio.py'
'' else ''
pytest
'';
meta = with lib; {
homepage = "https://github.com/jd/tenacity";
description = "Retrying library for Python";
license = licenses.asl20;
maintainers = with maintainers; [ jakewaksbaum ];
};
}