nixpkgs/pkgs/data/fonts/agave/default.nix
2019-01-17 15:24:55 -06:00

29 lines
699 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "agave-${version}";
version = "008";
src = fetchurl {
url = "https://github.com/agarick/agave/releases/download/v${version}/${name}.tar.gz";
sha256 = "0g50mqpffn4dq761vibaf8dwfkbcl5da1cc89qz6pq35ircipbns";
};
sourceRoot = ".";
dontBuild = true;
installPhase = ''
mkdir -p $out/share/fonts/truetype
cp *.ttf $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;
};
}