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,30 @@
{callPackage, fetchFromGitHub, fetchpatch}:
callPackage ./dvtm.nix {
pname = "dvtm-unstable";
version = "2018-03-31";
src = fetchFromGitHub {
owner = "martanne";
repo = "dvtm";
rev = "311a8c0c28296f8f87fb63349e0f3254c7481e14";
sha256 = "0pyxjkaxh8n97kccnmd3p98vi9h8mcfy5lswzqiplsxmxxmlbpx2";
};
patches = [
# https://github.com/martanne/dvtm/pull/69
# Use self-pipe instead of signal blocking fixes issues on darwin.
(fetchpatch {
name = "use-self-pipe-fix-darwin";
url = "https://github.com/martanne/dvtm/commit/1f1ed664d64603f3f1ce1388571227dc723901b2.patch";
sha256 = "14j3kks7b1v6qq12442v1da3h7khp02rp0vi0qrz0rfgkg1zilpb";
})
# https://github.com/martanne/dvtm/pull/86
# Fix buffer corruption when title is updated
(fetchpatch {
name = "fix-buffer-corruption-on-title-update";
url = "https://github.com/martanne/dvtm/commit/be6c3f8f615daeab214d484e6fff22e19631a0d1.patch";
sha256 = "1wdrl3sg815lhs22fwbc4w5dn4ifpdgl7v1kqfnhg752av4im7h7";
})
];
}