2009-11-18 09:39:59 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2010-02-11 09:44:48 +00:00
|
|
|
name = "lmodern-2.004.1";
|
2009-11-18 09:39:59 +00:00
|
|
|
|
2008-04-26 16:22:48 +01:00
|
|
|
src = fetchurl {
|
2010-02-11 09:44:48 +00:00
|
|
|
url = mirror://debian/pool/main/l/lmodern/lmodern_2.004.1.orig.tar.gz;
|
|
|
|
sha256 = "1bvlf8p39667q58pvyfzy3yl0mylf0ak96flwp8vj01vqbi3rfaz";
|
2008-04-26 16:22:48 +01:00
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
installPhase = ''
|
2010-02-11 09:44:48 +00:00
|
|
|
ensureDir $out/texmf/
|
2008-04-28 02:09:58 +01:00
|
|
|
ensureDir $out/share/fonts/
|
2008-04-26 16:22:48 +01:00
|
|
|
|
2010-02-11 09:44:48 +00:00
|
|
|
cp -r ./* $out/texmf/
|
2008-04-28 02:09:58 +01:00
|
|
|
cp -r fonts/{opentype,type1} $out/share/fonts/
|
2010-02-11 09:44:48 +00:00
|
|
|
|
|
|
|
ln -s $out/texmf* $out/share/
|
2009-11-18 09:39:59 +00:00
|
|
|
'';
|
2008-04-26 16:22:48 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Latin Modern font";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|