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,36 @@
{ lib, buildPythonPackage, fetchPypi, cloudpickle, ipykernel, wurlitzer,
jupyter-client, pyzmq }:
buildPythonPackage rec {
pname = "spyder-kernels";
version = "2.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-pdU20Oil53TX1hbBAqj6LWqkX9MwoLeZuY7vFYNW02w=";
};
propagatedBuildInputs = [
cloudpickle
ipykernel
wurlitzer
jupyter-client
pyzmq
];
postPatch = ''
substituteInPlace setup.py --replace "ipython>=7.31.1,<8" "ipython"
'';
# No tests
doCheck = false;
meta = with lib; {
description = "Jupyter kernels for Spyder's console";
homepage = "https://docs.spyder-ide.org/current/ipythonconsole.html";
downloadPage = "https://github.com/spyder-ide/spyder-kernels/releases";
changelog = "https://github.com/spyder-ide/spyder-kernels/blob/master/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ gebner ];
};
}