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
37
pkgs/data/fonts/agave/default.nix
Normal file
37
pkgs/data/fonts/agave/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib, fetchurl, stdenv }:
|
||||
|
||||
let
|
||||
pname = "agave";
|
||||
version = "37";
|
||||
|
||||
mkAg = name: hash: fetchurl {
|
||||
url = "https://github.com/agarick/agave/releases/download/v${version}/Agave-${name}.ttf";
|
||||
sha256 = hash;
|
||||
name = "Agave-${name}.ttf";
|
||||
};
|
||||
# There are slashed variants, but with same name so only bundle the default versions for now:
|
||||
fonts = [
|
||||
(mkAg "Regular" "sha256-vX1VhEgqy9rQ7hPmAgBGxKyIs2QSAYqZC/mL/2BIOrA=")
|
||||
(mkAg "Bold" "sha256-Ax/l/RKyc03law0ThiLac/7HHV4+YxibKzcZnjZs6VI=")
|
||||
];
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
inherit pname version;
|
||||
srcs = fonts;
|
||||
sourceRoot = ".";
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
install -D $srcs -t $out/share/fonts/truetype/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "truetype monospaced typeface designed for X environments";
|
||||
homepage = "https://b.agaric.net/page/agave";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dtzWill ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue