mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
27 lines
631 B
Nix
27 lines
631 B
Nix
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;
|
|
};
|
|
}
|