7f5b839524
`selectVersion ./foo "bar"' instead of `import ./foo/bar.nix'. * Replaced `with args' with formal function arguments in several packages. * Renamed several files to `default.nix'. As a general rule, version numbers should only be included in the filename when there is a reason to keep multiple versions of a package in Nixpkgs. Otherwise, it just makes it harder to update the package. svn path=/nixpkgs/trunk/; revision=18403
23 lines
576 B
Nix
23 lines
576 B
Nix
args : with args;
|
|
rec {
|
|
src = fetchurl {
|
|
url = http://downloads.sourceforge.net/linuxlibertine/LinLibertineSRC-2.7.tgz;
|
|
sha256 = "1czc3pil4zrii6qh6zk0g6hj6axj20gfnpbbdfrzm703wm9w70ic";
|
|
};
|
|
|
|
buildInputs = [fontforge];
|
|
configureFlags = [];
|
|
|
|
/* doConfigure should be specified separately */
|
|
phaseNames = ["doUnpack" "generateFontsFromSFD" "installFonts"];
|
|
|
|
extraFontForgeCommands = ''
|
|
ScaleToEm(1000);
|
|
'';
|
|
|
|
name = "linux-libertine-2.7";
|
|
meta = {
|
|
description = "Linux Libertine Fonts";
|
|
homepage = http://linuxlibertine.sf.net;
|
|
};
|
|
}
|