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,31 @@
{ lib, fetchFromGitHub }:
let
version = "unstable-2018-08-12";
in fetchFromGitHub {
name = "gelasio-${version}";
owner = "SorkinType";
repo = "Gelasio";
rev = "5bced461d54bcf8e900bb3ba69455af35b0d2ff1";
sha256 = "0dfskz2vpwsmd88rxqsxf0f01g4f2hm6073afcm424x5gc297n39";
postFetch = ''
tar xf $downloadedFile --strip=1
mkdir -p $out/share/fonts/truetype
cp *.ttf $out/share/fonts/truetype/
'';
meta = with lib; {
description = "a font which is metric-compatible with Microsoft's Georgia";
longDescription = ''
Gelasio is an original typeface which is metrics compatible with Microsoft's
Georgia in its Regular, Bold, Italic and Bold Italic weights. Interpolated
Medium, medium Italic, SemiBold and SemiBold Italic have now been added as well.
'';
homepage = "https://github.com/SorkinType/Gelasio";
license = licenses.ofl;
platforms = platforms.all;
maintainers = with maintainers; [ colemickens ];
};
}