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,24 @@
{ lib, fetchPypi, fetchpatch, buildPythonPackage }:
buildPythonPackage rec {
pname = "rocket-errbot";
version = "1.2.5";
src = fetchPypi {
inherit pname version;
sha256 = "181y1wqjvlry5xdzbliajvrxvswzh3myh795jnj1pm92r5grqzda";
};
# remove with 1.2.6
patches = [ (fetchpatch {
url = "https://github.com/errbotio/rocket/pull/1.patch";
sha256 = "1s668yv5b86b78vbqwhcl44k2l16c9bhk3199yy9hayf0vkxnwif";
}) ];
meta = {
homepage = "https://github.com/errbotio/rocket";
description = "Modern, multi-threaded and extensible web server";
license = lib.licenses.mit;
};
}