Update RedHat Liberation fonts

svn path=/nixpkgs/trunk/; revision=15516
This commit is contained in:
Michael Raskin 2009-05-09 16:26:59 +00:00
parent d54c4a8189
commit e29972b129

View file

@ -3,11 +3,10 @@
stdenv.mkDerivation {
name = "redhat-liberation";
src = fetchurl {
url = http://www.redhat.com/f/fonts/liberation-fonts.tar.gz;
sha256 = "5749c27f3deb5da323961e86efed1306fc072bea9065790d0047ad61471be6a5";
url = https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-1.04.tar.gz;
sha256 = "189i6pc4jqhhmsb9shi8afg9af9crpmz9bnlldhqaxavr1bhj38f";
};
unpackPhase = ''tar -xvf "$src" && sourceRoot="$PWD/liberation-fonts"'';
installPhase = ''
ensureDir $out/share/fonts/truetype
cp *.ttf $out/share/fonts/truetype