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