2019-05-13 03:55:32 +02:00
|
|
|
{ lib, fetchurl }:
|
2019-01-17 22:07:35 +01:00
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
let
|
2019-02-07 16:32:42 +01:00
|
|
|
pname = "agave";
|
2019-09-14 05:05:38 +02:00
|
|
|
version = "14";
|
2019-05-13 03:55:32 +02:00
|
|
|
in fetchurl {
|
|
|
|
name = "${pname}-${version}";
|
2019-09-14 05:05:38 +02:00
|
|
|
url = "https://github.com/agarick/agave/releases/download/v${version}/Agave-Regular.ttf";
|
2019-01-17 22:07:35 +01:00
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
downloadToTemp = true;
|
|
|
|
recursiveHash = true;
|
|
|
|
postFetch = ''
|
2019-09-14 05:05:38 +02:00
|
|
|
install -D $downloadedFile $out/share/fonts/truetype/Agave-Regular.ttf
|
2019-01-17 22:07:35 +01:00
|
|
|
'';
|
|
|
|
|
2019-09-14 05:05:38 +02:00
|
|
|
sha256 = "14hr6cdn5xbfpszj4qyfqbwmjyrkmi83yl0g9j3y3jw561jwy27j";
|
2019-05-13 03:55:32 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
2019-01-17 22:07:35 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|