2009-11-18 09:39:59 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2013-12-18 15:58:12 +00:00
|
|
|
name = "lmodern-2.004.4";
|
2009-11-18 09:39:59 +00:00
|
|
|
|
2008-04-26 15:22:48 +00:00
|
|
|
src = fetchurl {
|
2013-12-18 15:58:12 +00:00
|
|
|
url = mirror://debian/pool/main/l/lmodern/lmodern_2.004.4.orig.tar.gz;
|
|
|
|
sha256 = "1g1fmi9asw6x9arm5sy3r4jwz7zrrbcw6q4waj3iqs0iq525i1rw";
|
2008-04-26 15:22:48 +00:00
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
installPhase = ''
|
2013-10-14 06:36:39 +00:00
|
|
|
mkdir -p $out/texmf-dist/
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/share/fonts/
|
2008-04-26 15:22:48 +00:00
|
|
|
|
2013-10-14 06:36:39 +00:00
|
|
|
cp -r ./* $out/texmf-dist/
|
2008-04-28 01:09:58 +00: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 15:22:48 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Latin Modern font";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|