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:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
27
pkgs/data/fonts/gentium-book-basic/default.nix
Normal file
27
pkgs/data/fonts/gentium-book-basic/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib, fetchzip }:
|
||||
|
||||
let
|
||||
major = "1";
|
||||
minor = "102";
|
||||
version = "${major}.${minor}";
|
||||
in fetchzip rec {
|
||||
name = "gentium-book-basic-${version}";
|
||||
|
||||
url = "http://software.sil.org/downloads/r/gentium/GentiumBasic_${major}${minor}.zip";
|
||||
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/{doc,fonts}
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile \*/FONTLOG.txt \*/GENTIUM-FAQ.txt -d $out/share/doc/${name}
|
||||
'';
|
||||
|
||||
sha256 = "0598zr5f7d6ll48pbfbmmkrybhhdks9b2g3m2g67wm40070ffzmd";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://software.sil.org/gentium/";
|
||||
description = "A high-quality typeface family for Latin, Cyrillic, and Greek";
|
||||
maintainers = with maintainers; [ ];
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue