Revert "Update Liberation fonts"

This reverts commit e85f67f21563756be494ad938bdfc5bf068c7ef0. It makes
NixOS depend on Atlas, gfortran, numpy, etc. In particular nothing
importation should ever gepend on Atlas, because it's prone to random
build failures:

  http://hydra.nixos.org/build/16766850
This commit is contained in:
Eelco Dolstra 2014-11-06 10:03:42 +01:00
parent 9a7143918b
commit 782a12e450

View File

@ -1,20 +1,19 @@
{stdenv, fetchurl, fontforge, python, pythonPackages}: {stdenv, fetchurl}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "liberation-fonts-2.00.1"; name = "liberation-fonts-1.04";
src = fetchurl { src = fetchurl {
url = "https://fedorahosted.org/releases/l/i/liberation-fonts/${name}.tar.gz"; url = "https://fedorahosted.org/releases/l/i/liberation-fonts/${name}.tar.gz";
sha256 = "1ymryvd2nw4jmw4w5y1i3ll2dn48rpkqzlsgv7994lk6qc9cdjvs"; sha256 = "189i6pc4jqhhmsb9shi8afg9af9crpmz9bnlldhqaxavr1bhj38f";
}; };
buildInputs = [fontforge python pythonPackages.fonttools];
installPhase = '' installPhase = ''
mkdir -p $out/share/fonts/truetype mkdir -p $out/share/fonts/truetype
cp -v $( find . -name '*.ttf') $out/share/fonts/truetype cp -v *.ttf $out/share/fonts/truetype
mkdir -p "$out/doc/${name}" mkdir -p "$out/doc/${name}"
cp -v AUTHORS ChangeLog COPYING License.txt README "$out/doc/${name}" || true cp -v AUTHORS ChangeLog COPYING License.txt README "$out/doc/${name}"
''; '';
meta = { meta = {