2013-01-10 21:34:05 +00:00
|
|
|
args: with args; rec {
|
|
|
|
name = "linux-libertine-5.3.0";
|
|
|
|
|
2008-04-28 11:08:40 +01:00
|
|
|
src = fetchurl {
|
2013-01-10 21:34:05 +00:00
|
|
|
url = mirror://sf/linuxlibertine/5.3.0/LinLibertineSRC_5.3.0_2012_07_02.tgz;
|
|
|
|
sha256 = "0x7cz6hvhpil1rh03rax9zsfzm54bh7r4bbrq8rz673gl9h47v0v";
|
2008-04-28 11:08:40 +01:00
|
|
|
};
|
|
|
|
|
2013-01-10 21:34:05 +00:00
|
|
|
buildInputs = [ fontforge ];
|
2008-04-28 11:08:40 +01:00
|
|
|
|
|
|
|
/* doConfigure should be specified separately */
|
|
|
|
phaseNames = ["doUnpack" "generateFontsFromSFD" "installFonts"];
|
2013-01-10 21:34:05 +00:00
|
|
|
|
2008-04-28 12:06:56 +01:00
|
|
|
extraFontForgeCommands = ''
|
|
|
|
ScaleToEm(1000);
|
|
|
|
'';
|
2008-04-28 11:08:40 +01:00
|
|
|
|
2013-01-10 21:34:05 +00:00
|
|
|
doUnpack = lib.fullDepEntry ''
|
|
|
|
tar xf ${src}
|
|
|
|
'' ["minInit"];
|
2011-05-24 16:13:54 +01:00
|
|
|
|
2008-04-28 11:08:40 +01:00
|
|
|
meta = {
|
|
|
|
description = "Linux Libertine Fonts";
|
|
|
|
homepage = http://linuxlibertine.sf.net;
|
|
|
|
};
|
|
|
|
}
|