nixpkgs/pkgs/data/fonts/agave/default.nix

27 lines
681 B
Nix
Raw Normal View History

{ lib, fetchurl }:
2019-01-17 21:07:35 +00:00
let
2019-02-07 15:32:42 +00:00
pname = "agave";
2020-11-27 21:33:29 +00:00
version = "35";
in fetchurl {
name = "${pname}-${version}";
url = "https://github.com/agarick/agave/releases/download/v${version}/Agave-Regular.ttf";
2019-01-17 21:07:35 +00:00
downloadToTemp = true;
recursiveHash = true;
postFetch = ''
install -D $downloadedFile $out/share/fonts/truetype/Agave-Regular.ttf
2019-01-17 21:07:35 +00:00
'';
2020-11-27 21:33:29 +00:00
sha256 = "10shwsl1illdafnc352j439lklrxksip1vlh4jc934cr9qf4c1fz";
meta = with lib; {
2019-01-17 21:07:35 +00:00
description = "truetype monospaced typeface designed for X environments";
homepage = "https://b.agaric.net/page/agave";
2019-01-17 21:07:35 +00:00
license = licenses.mit;
maintainers = with maintainers; [ dtzWill ];
platforms = platforms.all;
};
}