Update Liberation fonts

This commit is contained in:
Michael Raskin 2014-11-04 00:36:24 +03:00
parent bf179ce795
commit e85f67f215

View File

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