2019-05-13 02:55:32 +01:00
|
|
|
{ lib, fetchurl }:
|
2019-01-17 21:07:35 +00:00
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
let
|
2019-02-07 15:32:42 +00:00
|
|
|
pname = "agave";
|
2020-07-21 20:20:04 +01:00
|
|
|
version = "22";
|
2019-05-13 02:55:32 +01:00
|
|
|
in fetchurl {
|
|
|
|
name = "${pname}-${version}";
|
2019-09-14 04:05:38 +01:00
|
|
|
url = "https://github.com/agarick/agave/releases/download/v${version}/Agave-Regular.ttf";
|
2019-01-17 21:07:35 +00:00
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
downloadToTemp = true;
|
|
|
|
recursiveHash = true;
|
|
|
|
postFetch = ''
|
2019-09-14 04:05:38 +01:00
|
|
|
install -D $downloadedFile $out/share/fonts/truetype/Agave-Regular.ttf
|
2019-01-17 21:07:35 +00:00
|
|
|
'';
|
|
|
|
|
2020-07-21 20:20:04 +01:00
|
|
|
sha256 = "1jb8f0xcv5z0l5nyx733b6zclswi82vrh2nwyyhbqzgqrl4y1h6s";
|
2019-05-13 02:55:32 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
2019-01-17 21:07:35 +00:00
|
|
|
description = "truetype monospaced typeface designed for X environments";
|
2020-04-01 02:11:51 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|