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
25
pkgs/data/fonts/wqy-zenhei/default.nix
Normal file
25
pkgs/data/fonts/wqy-zenhei/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ lib, fetchzip }:
|
||||
|
||||
let
|
||||
version = "0.9.45";
|
||||
in fetchzip rec {
|
||||
name = "wqy-zenhei-${version}";
|
||||
|
||||
url = "mirror://sourceforge/wqy/${name}.tar.gz";
|
||||
|
||||
postFetch = ''
|
||||
tar -xzf $downloadedFile --strip-components=1
|
||||
mkdir -p $out/share/fonts
|
||||
install -m644 *.ttc $out/share/fonts/
|
||||
'';
|
||||
|
||||
sha256 = "0hbjq6afcd63nsyjzrjf8fmm7pn70jcly7fjzjw23v36ffi0g255";
|
||||
|
||||
meta = {
|
||||
description = "A (mainly) Chinese Unicode font";
|
||||
homepage = "http://wenq.org";
|
||||
license = lib.licenses.gpl2; # with font embedding exceptions
|
||||
maintainers = [ lib.maintainers.pkmx ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue