Skip to content

Commit

Permalink
Revert "Update Liberation fonts"
Browse files Browse the repository at this point in the history
This reverts commit e85f67f. 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
  • Loading branch information
edolstra committed Nov 6, 2014
1 parent 9a71439 commit 782a12e
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions pkgs/data/fonts/redhat-liberation-fonts/default.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
{stdenv, fetchurl, fontforge, python, pythonPackages}:
{stdenv, fetchurl}:

stdenv.mkDerivation rec {
name = "liberation-fonts-2.00.1";
name = "liberation-fonts-1.04";

src = fetchurl {
url = "https://fedorahosted.org/releases/l/i/liberation-fonts/${name}.tar.gz";
sha256 = "1ymryvd2nw4jmw4w5y1i3ll2dn48rpkqzlsgv7994lk6qc9cdjvs";
sha256 = "189i6pc4jqhhmsb9shi8afg9af9crpmz9bnlldhqaxavr1bhj38f";
};

buildInputs = [fontforge python pythonPackages.fonttools];

installPhase = ''
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}"
cp -v AUTHORS ChangeLog COPYING License.txt README "$out/doc/${name}" || true
cp -v AUTHORS ChangeLog COPYING License.txt README "$out/doc/${name}"
'';

meta = {
Expand Down

0 comments on commit 782a12e

Please sign in to comment.