nixpkgs-suyu/pkgs/data/fonts/freefont-ttf/default.nix
Ludovic Courtès c9d9cfe6d4 GNU Freefont 20080912.
svn path=/nixpkgs/trunk/; revision=12856
2008-09-12 17:54:59 +00:00

27 lines
701 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "freefont-ttf-20080912";
src = fetchurl {
url = "mirror://gnu/freefont/${name}.tar.gz";
sha256 = "1l6ip2xy4s4xacnz299y7afc4rhvnxb593nn8acxavmr623sh5ir";
};
installPhase = ''
ensureDir $out/share/fonts/truetype
cp *.ttf $out/share/fonts/truetype
'';
meta = {
description = "GNU Free UCS Outline Fonts";
longDescription = ''
The GNU Freefont project aims to provide a set of free outline
(PostScript Type0, TrueType, OpenType...) fonts covering the ISO
10646/Unicode UCS (Universal Character Set).
'';
homepage = http://www.gnu.org/software/freefont/;
license = "GPLv2+";
};
}