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,74 @@
{ lib
, buildPythonPackage
, fetchPypi
, ansiwrap
, click
, future
, pyyaml
, nbformat
, nbconvert
, nbclient
, six
, tqdm
, jupyter-client
, requests
, entrypoints
, tenacity
, futures ? null
, black
, backports_tempfile
, isPy27
, pytest
, pytest-cov
, pytest-mock
}:
buildPythonPackage rec {
pname = "papermill";
version = "2.3.4";
src = fetchPypi {
inherit pname version;
sha256 = "be12d2728989c0ae17b42fcb05b623500004e94b34f56bd153355ccebb84a59a";
};
propagatedBuildInputs = [
ansiwrap
click
future
pyyaml
nbformat
nbconvert
nbclient
six
tqdm
jupyter-client
requests
entrypoints
tenacity
black
] ++ lib.optionals isPy27 [
futures
backports_tempfile
];
checkInputs = [
pytest
pytest-cov
pytest-mock
];
checkPhase = ''
HOME=$(mktemp -d) pytest
'';
# the test suite depends on cloud resources azure/aws
doCheck = false;
meta = with lib; {
description = "Parametrize and run Jupyter and nteract Notebooks";
homepage = "https://github.com/nteract/papermill";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}