3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/fonts/agave/default.nix
2019-02-11 17:47:24 -06:00

30 lines
707 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "agave";
version = "009";
src = fetchurl {
url = "https://github.com/agarick/agave/releases/download/v${version}/agave-r.ttf";
sha256 = "05766gp2glm1p2vknk1nncxigq28hg8s58kjwsbn8zpwy8ivywpk";
};
sourceRoot = ".";
unpackPhase = ":";
dontBuild = true;
installPhase = ''
mkdir -p $out/share/fonts/truetype
cp $src $out/share/fonts/truetype/
'';
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;
};
}