Redhat n00bs calls their source xxx.tar.gz but it is not gzipped . . the generic builder can also not figure this out . . .
svn path=/nixpkgs/trunk/; revision=12310
This commit is contained in:
parent
20d29abc63
commit
4650c3ddc5
@ -3,9 +3,11 @@
|
||||
stdenv.mkDerivation {
|
||||
name = "redhat-liberation";
|
||||
src = fetchurl {
|
||||
url = https://www.redhat.com/f/fonts/liberation-fonts.tar.gz;
|
||||
url = http://www.redhat.com/f/fonts/liberation-fonts.tar.gz;
|
||||
sha256 = "5749c27f3deb5da323961e86efed1306fc072bea9065790d0047ad61471be6a5";
|
||||
};
|
||||
|
||||
unpackPhase = ''tar -xvf "$src" && sourceRoot="$PWD/liberation-fonts"'';
|
||||
installPhase = ''
|
||||
ensureDir $out/share/fonts/truetype
|
||||
cp *.ttf $out/share/fonts/truetype
|
||||
|
Loading…
Reference in New Issue
Block a user