2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchurl }:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "agave";
|
2020-08-20 17:08:02 +00:00
|
|
|
version = "22";
|
2020-04-24 23:36:52 +00:00
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
sha256 = "1jb8f0xcv5z0l5nyx733b6zclswi82vrh2nwyyhbqzgqrl4y1h6s";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|