3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/fonts/agave/default.nix
volth c9eb44eab3 data/fonts: cleanup
* make font derivations fixed-output where applicable
 * fix dead links
 * `stdenv.lib` -> `lib` where `stdenv` is not involved
 * remove `meta.platforms = [ unix ]` and `meta.platforms = [ linux ]` because the restriction has no sense for data packages
2019-05-13 06:03:31 +00:00

27 lines
668 B
Nix

{ lib, fetchurl }:
let
pname = "agave";
version = "009";
in fetchurl {
name = "${pname}-${version}";
url = "https://github.com/agarick/agave/releases/download/v${version}/agave-r.ttf";
downloadToTemp = true;
recursiveHash = true;
postFetch = ''
install -D $downloadedFile $out/share/fonts/truetype/agave-r.ttf
'';
sha256 = "16qvz3zpwiq2nw0gxygva5pssswcia5xp0q6ir5jfkackvqf3fql";
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;
};
}