2009-11-18 09:39:59 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "lmodern-1.010x";
|
|
|
|
|
2008-04-26 16:22:48 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = http://ftp.de.debian.org/debian/pool/main/l/lmodern/lmodern_1.010x.orig.tar.gz;
|
|
|
|
sha256 = "0nwxj1ng7rvnp16jxcs25hbc5in65mdk4a3g3rlaq91i5qpq7mxj";
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
installPhase = ''
|
2008-04-26 16:22:48 +01:00
|
|
|
ensureDir $out/share/texmf/
|
2008-04-28 02:09:58 +01:00
|
|
|
ensureDir $out/share/fonts/
|
2008-04-26 16:22:48 +01:00
|
|
|
|
|
|
|
cp -r ./* $out/share/texmf/
|
2008-04-28 02:09:58 +01:00
|
|
|
cp -r fonts/{opentype,type1} $out/share/fonts/
|
2009-11-18 09:39:59 +00:00
|
|
|
'';
|
2008-04-26 16:22:48 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Latin Modern font";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|