forked from mirrors/nixpkgs
Added LModern TeX Fonts
svn path=/nixpkgs/trunk/; revision=11726
This commit is contained in:
parent
1c85e0fc2b
commit
07d8e53774
32
pkgs/data/fonts/lmodern/0.92.nix
Normal file
32
pkgs/data/fonts/lmodern/0.92.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
args : with args;
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = http://ftp.de.debian.org/debian/pool/main/l/lmodern/lmodern_0.92.orig.tar.gz;
|
||||
sha256 = "0ak3n7fsi2va94gsn0pfmyby2b4g7wz9h5a0prpbx24ax1xwinls";
|
||||
};
|
||||
|
||||
buildInputs = [];
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be specified separately */
|
||||
phaseNames = ["doCopy"];
|
||||
|
||||
doCopy = FullDepEntry(''
|
||||
ensureDir $out/share/texmf/fonts/enc
|
||||
ensureDir $out/share/texmf/fonts/map
|
||||
ensureDir $out/share/texmf/fonts/type1/public/lm
|
||||
ensureDir $out/share/texmf/dvips/lm
|
||||
ensureDir $out/share/texmf/dvipdfm/config
|
||||
|
||||
cp -r ./* $out/share/texmf/
|
||||
|
||||
cp dvips/lm/*.enc $out/share/texmf/fonts/enc
|
||||
cp dvips/lm/*.map $out/share/texmf/fonts/map
|
||||
cp dvips/lm/*.map $out/share/texmf/dvipdfm/config
|
||||
'') ["minInit" "defEnsureDir" "doUnpack"];
|
||||
|
||||
name = "lmodern-" + version;
|
||||
meta = {
|
||||
description = "Latin Modern font";
|
||||
};
|
||||
}
|
25
pkgs/data/fonts/lmodern/1.010.nix
Normal file
25
pkgs/data/fonts/lmodern/1.010.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
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/
|
||||
|
||||
cp -r ./* $out/share/texmf/
|
||||
'') ["minInit" "defEnsureDir" "doUnpack"];
|
||||
|
||||
name = "lmodern-" + version;
|
||||
meta = {
|
||||
description = "Latin Modern font";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in a new issue