Libertine fonts: update and cleanup.

This commit is contained in:
Vladimír Čunát 2013-01-10 22:34:05 +01:00
parent ce705aa998
commit 6f1aad769f
2 changed files with 11 additions and 12 deletions

View File

@ -1,12 +1,12 @@
args : with args; args: with args; rec {
rec { name = "linux-libertine-5.3.0";
src = fetchurl { src = fetchurl {
url = http://downloads.sourceforge.net/linuxlibertine/5.0.0/LinLibertineSRC_2011_05_22.tgz; url = mirror://sf/linuxlibertine/5.3.0/LinLibertineSRC_5.3.0_2012_07_02.tgz;
sha256 = "1cr0kvvlqrcmaxfl6szfp3m93mcnhmypx33dxmdm3xdxxkab74vg"; sha256 = "0x7cz6hvhpil1rh03rax9zsfzm54bh7r4bbrq8rz673gl9h47v0v";
}; };
buildInputs = [fontforge]; buildInputs = [ fontforge ];
configureFlags = [];
/* doConfigure should be specified separately */ /* doConfigure should be specified separately */
phaseNames = ["doUnpack" "generateFontsFromSFD" "installFonts"]; phaseNames = ["doUnpack" "generateFontsFromSFD" "installFonts"];
@ -15,11 +15,10 @@ rec {
ScaleToEm(1000); ScaleToEm(1000);
''; '';
doUnpack = fullDepEntry '' doUnpack = lib.fullDepEntry ''
tar xf ${src} tar xf ${src}
'' ["minInit"]; '' ["minInit"];
name = "linux-libertine-5.0.0";
meta = { meta = {
description = "Linux Libertine Fonts"; description = "Linux Libertine Fonts";
homepage = http://linuxlibertine.sf.net; homepage = http://linuxlibertine.sf.net;

View File

@ -6519,7 +6519,7 @@ let
liberation_ttf = callPackage ../data/fonts/redhat-liberation-fonts { }; liberation_ttf = callPackage ../data/fonts/redhat-liberation-fonts { };
libertine = builderDefsPackage (import ../data/fonts/libertine) { libertine = builderDefsPackage (import ../data/fonts/libertine) {
inherit fontforge; inherit fetchurl fontforge lib;
}; };
lmmath = callPackage ../data/fonts/lmodern/lmmath.nix {}; lmmath = callPackage ../data/fonts/lmodern/lmmath.nix {};