Update GNU Freefont.

svn path=/nixpkgs/trunk/; revision=11344
This commit is contained in:
Ludovic Courtès 2008-03-29 22:07:15 +00:00
parent d333c4ee09
commit 553a3af3ce

View File

@ -1,13 +1,27 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "freefont-ttf-20060126";
stdenv.mkDerivation rec {
name = "freefont-ttf-20080323";
src = fetchurl {
url = http://download.savannah.gnu.org/releases/freefont/freefont-ttf-20060126.tar.gz;
md5 = "822aba4e2ed065d9d3ded6e26e495854";
url = "mirror://gnu/freefont/${name}.tar.gz";
sha256 = "17wkasp5bgzw8n1dxpfcgj5zawfb743ff3cq24qh4brkyfrf2jkr";
};
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+";
};
}