nixpkgs-suyu/pkgs/data/fonts/agave/default.nix
Will Dietz e94e19655a
agave: 22 -> 30
https://github.com/agarick/agave/releases/tag/v30
(see also notes for other releases, not linked here)
2020-10-16 13:20:17 -05:00

26 lines
681 B
Nix

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