2019-01-17 21:07:35 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-02-07 15:32:42 +00:00
|
|
|
pname = "agave";
|
|
|
|
version = "009";
|
2019-01-17 21:07:35 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-02-07 15:32:42 +00:00
|
|
|
url = "https://github.com/agarick/agave/releases/download/v${version}/agave-r.ttf";
|
|
|
|
sha256 = "05766gp2glm1p2vknk1nncxigq28hg8s58kjwsbn8zpwy8ivywpk";
|
2019-01-17 21:07:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sourceRoot = ".";
|
|
|
|
|
2019-02-07 15:32:42 +00:00
|
|
|
unpackPhase = ":";
|
2019-01-17 21:07:35 +00:00
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/fonts/truetype
|
2019-02-07 15:32:42 +00:00
|
|
|
cp $src $out/share/fonts/truetype/
|
2019-01-17 21:07:35 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.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;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|