forked from mirrors/nixpkgs
Revert "Update Liberation fonts"
This reverts commit e85f67f215
. 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:
parent
9a7143918b
commit
782a12e450
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue