2008-03-02 19:39:33 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-04-26 17:54:37 +02:00
|
|
|
name = "redhat-liberation";
|
2008-03-02 19:39:33 +01:00
|
|
|
src = fetchurl {
|
2008-07-07 21:02:57 +02:00
|
|
|
url = http://www.redhat.com/f/fonts/liberation-fonts.tar.gz;
|
2008-07-07 19:25:08 +02:00
|
|
|
sha256 = "5749c27f3deb5da323961e86efed1306fc072bea9065790d0047ad61471be6a5";
|
2008-03-02 19:39:33 +01:00
|
|
|
};
|
2008-07-07 21:02:57 +02:00
|
|
|
|
|
|
|
unpackPhase = ''tar -xvf "$src" && sourceRoot="$PWD/liberation-fonts"'';
|
2008-03-02 19:39:33 +01:00
|
|
|
installPhase = ''
|
|
|
|
ensureDir $out/share/fonts/truetype
|
|
|
|
cp *.ttf $out/share/fonts/truetype
|
|
|
|
'';
|
|
|
|
}
|
|
|
|
|