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