blob: b8c0db222d5f19e8feb2d6f493407be0a32f55c8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
args: with args; rec {
name = "linux-libertine-5.3.0";
src = fetchurl {
url = mirror://sourceforge/linuxlibertine/5.3.0/LinLibertineSRC_5.3.0_2012_07_02.tgz;
sha256 = "0x7cz6hvhpil1rh03rax9zsfzm54bh7r4bbrq8rz673gl9h47v0v";
};
buildInputs = [ fontforge ];
/* doConfigure should be specified separately */
phaseNames = ["doUnpack" "generateFontsFromSFD" "installFonts"];
extraFontForgeCommands = ''
ScaleToEm(1000);
'';
doUnpack = lib.fullDepEntry ''
tar xf ${src}
'' ["minInit"];
meta = {
description = "Linux Libertine Fonts";
homepage = http://linuxlibertine.sf.net;
};
}
|