3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/fonts/lmodern/1.010.nix
Michael Raskin 87a1c3d55e Now making font accessible to freetype in standart location
svn path=/nixpkgs/trunk/; revision=11736
2008-04-28 01:09:58 +00:00

28 lines
642 B
Nix

args : with args;
rec {
src = fetchurl {
url = http://ftp.de.debian.org/debian/pool/main/l/lmodern/lmodern_1.010x.orig.tar.gz;
sha256 = "0nwxj1ng7rvnp16jxcs25hbc5in65mdk4a3g3rlaq91i5qpq7mxj";
};
buildInputs = [];
configureFlags = [];
/* doConfigure should be specified separately */
phaseNames = ["doCopy"];
doCopy = FullDepEntry(''
ensureDir $out/share/texmf/
ensureDir $out/share/fonts/
cp -r ./* $out/share/texmf/
cp -r fonts/{opentype,type1} $out/share/fonts/
'') ["minInit" "defEnsureDir" "doUnpack"];
name = "lmodern-" + version;
meta = {
description = "Latin Modern font";
};
}