2017-08-10 21:43:49 +02:00
|
|
|
{ stdenv, fetchzip }:
|
2009-11-18 10:39:59 +01:00
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
fetchzip {
|
2013-12-18 16:58:12 +01:00
|
|
|
name = "lmodern-2.004.4";
|
2008-04-26 17:22:48 +02:00
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
url = mirror://debian/pool/main/l/lmodern/lmodern_2.004.4.orig.tar.gz;
|
|
|
|
|
|
|
|
postFetch = ''
|
|
|
|
tar xzvf $downloadedFile
|
|
|
|
|
2013-10-14 08:36:39 +02:00
|
|
|
mkdir -p $out/texmf-dist/
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/share/fonts/
|
2008-04-26 17:22:48 +02:00
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
cp -r lmodern-2.004.4/* $out/texmf-dist/
|
|
|
|
cp -r lmodern-2.004.4/fonts/{opentype,type1} $out/share/fonts/
|
2010-02-11 10:44:48 +01:00
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
ln -s -r $out/texmf* $out/share/
|
2009-11-18 10:39:59 +01:00
|
|
|
'';
|
2008-04-26 17:22:48 +02:00
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
sha256 = "13n7ls8ss4sffd6c1iw2wb5hbq642i0fmivm76mbqwf652l002i5";
|
|
|
|
|
2008-04-26 17:22:48 +02:00
|
|
|
meta = {
|
|
|
|
description = "Latin Modern font";
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2008-04-26 17:22:48 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|