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/work-sans/default.nix
Normal file
25
pkgs/data/fonts/work-sans/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ lib, fetchzip }:
|
||||
|
||||
let
|
||||
version = "2.010";
|
||||
in
|
||||
fetchzip {
|
||||
name = "work-sans-${version}";
|
||||
|
||||
url = "https://github.com/weiweihuanghuang/Work-Sans/archive/refs/tags/v${version}.zip";
|
||||
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile "*/fonts/*.ttf" -d $out/share/fonts/opentype
|
||||
'';
|
||||
|
||||
sha256 = "sha256-S4O5EoKY4w/p+MHeHRCmPyQRAOUfEwNiETxMgNcsrws=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A grotesque sans";
|
||||
homepage = "https://weiweihuanghuang.github.io/Work-Sans/";
|
||||
license = licenses.ofl;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue