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,43 @@
{ lib
, pythonAtLeast
, pythonOlder
, buildPythonPackage
, fetchPypi
, stdenv
, numpydoc
, pytestCheckHook
, lz4
, setuptools
, sphinx
}:
buildPythonPackage rec {
pname = "joblib";
version = "1.1.0";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "4158fcecd13733f8be669be0683b96ebdbbd38d23559f54dca7205aea1bf1e35";
};
checkInputs = [ sphinx numpydoc pytestCheckHook ];
propagatedBuildInputs = [ lz4 setuptools ];
pytestFlagsArray = [ "joblib/test" ];
disabledTests = [
"test_disk_used" # test_disk_used is broken: https://github.com/joblib/joblib/issues/57
"test_parallel_call_cached_function_defined_in_jupyter" # jupyter not available during tests
"test_nested_parallel_warnings" # tests is flaky under load
] ++ lib.optionals stdenv.isDarwin [
"test_dispatch_multiprocessing" # test_dispatch_multiprocessing is broken only on Darwin.
];
meta = with lib; {
description = "Lightweight pipelining: using Python functions as pipeline jobs";
homepage = "https://joblib.readthedocs.io/";
license = licenses.bsd3;
maintainers = with maintainers; [ costrouc ];
};
}