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
28
pkgs/data/fonts/montserrat/default.nix
Normal file
28
pkgs/data/fonts/montserrat/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, fetchFromGitHub }:
|
||||
|
||||
let
|
||||
pname = "montserrat";
|
||||
version = "7.222";
|
||||
in fetchFromGitHub {
|
||||
name = "${pname}-${version}";
|
||||
owner = "JulietaUla";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-MeNnc1e5X5f0JyaLY6fX22rytHkvL++eM2ygsdlGMv0=";
|
||||
|
||||
postFetch = ''
|
||||
tar xf $downloadedFile --strip 1
|
||||
install -Dm 444 fonts/otf/*.otf -t $out/share/fonts/otf
|
||||
install -Dm 444 fonts/ttf/*.ttf -t $out/share/fonts/ttf
|
||||
install -Dm 444 fonts/webfonts/*.woff -t $out/share/fonts/woff
|
||||
install -Dm 444 fonts/webfonts/*.woff2 -t $out/share/fonts/woff2
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A geometric sans serif font with extended latin support (Regular, Alternates, Subrayada)";
|
||||
homepage = "https://www.fontspace.com/julieta-ulanovsky/montserrat";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ scolobb jk ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue