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/source-han-code-jp/default.nix
Normal file
25
pkgs/data/fonts/source-han-code-jp/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ lib, fetchzip }:
|
||||
|
||||
let
|
||||
pname = "source-han-code-jp";
|
||||
version = "2.012R";
|
||||
in fetchzip {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
url = "https://github.com/adobe-fonts/${pname}/archive/${version}.zip";
|
||||
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||
'';
|
||||
|
||||
sha256 = "16y5as1k864ghy3vzp8svr3q0sw57rv53za3f48700ksvxz5pwry";
|
||||
|
||||
meta = {
|
||||
description = "A monospaced Latin font suitable for coding";
|
||||
maintainers = with lib.maintainers; [ mt-caret ];
|
||||
platforms = with lib.platforms; all;
|
||||
homepage = "https://blogs.adobe.com/CCJKType/2015/06/source-han-code-jp.html";
|
||||
license = lib.licenses.ofl;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue