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
55
pkgs/data/fonts/arphic/default.nix
Normal file
55
pkgs/data/fonts/arphic/default.nix
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{ lib, fetchzip, mkfontscale, mkfontdir }:
|
||||
|
||||
let
|
||||
version = "0.2.20080216.2";
|
||||
in {
|
||||
arphic-ukai = fetchzip {
|
||||
name = "arphic-ukai-${version}";
|
||||
|
||||
url = "mirror://ubuntu/pool/main/f/fonts-arphic-ukai/fonts-arphic-ukai_${version}.orig.tar.bz2";
|
||||
|
||||
postFetch = ''
|
||||
tar -xjvf $downloadedFile --strip-components=1
|
||||
install -D -v ukai.ttc $out/share/fonts/truetype/arphic-ukai.ttc
|
||||
cd $out/share/fonts
|
||||
${mkfontdir}/bin/mkfontdir
|
||||
${mkfontscale}/bin/mkfontscale
|
||||
'';
|
||||
|
||||
sha256 = "0xi5ycm7ydzpn7cqxv1kcj9vd70nr9wn8v27hmibyjc25y2qdmzl";
|
||||
|
||||
meta = with lib; {
|
||||
description = "CJK Unicode font Kai style";
|
||||
homepage = "https://www.freedesktop.org/wiki/Software/CJKUnifonts/";
|
||||
|
||||
license = licenses.arphicpl;
|
||||
maintainers = [ maintainers.changlinli ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
};
|
||||
|
||||
arphic-uming = fetchzip {
|
||||
name = "arphic-uming-${version}";
|
||||
|
||||
url = "mirror://ubuntu/pool/main/f/fonts-arphic-uming/fonts-arphic-uming_${version}.orig.tar.bz2";
|
||||
|
||||
postFetch = ''
|
||||
tar -xjvf $downloadedFile --strip-components=1
|
||||
install -D -v uming.ttc $out/share/fonts/truetype/arphic-uming.ttc
|
||||
cd $out/share/fonts
|
||||
${mkfontdir}/bin/mkfontdir
|
||||
${mkfontscale}/bin/mkfontscale
|
||||
'';
|
||||
|
||||
sha256 = "16jybvj1cxamm682caj6nsm6l5c60x9mgchp1l2izrw2rvc8x38d";
|
||||
|
||||
meta = with lib; {
|
||||
description = "CJK Unicode font Ming style";
|
||||
homepage = "https://www.freedesktop.org/wiki/Software/CJKUnifonts/";
|
||||
|
||||
license = licenses.arphicpl;
|
||||
maintainers = [ maintainers.changlinli ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue