2020-04-24 23:36:52 +00:00
|
|
|
{ fetchzip }:
|
|
|
|
|
|
|
|
fetchzip {
|
2022-03-30 09:31:56 +00:00
|
|
|
name = "lmodern-2.005";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
url = "mirror://debian/pool/main/l/lmodern/lmodern_2.005.orig.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
postFetch = ''
|
|
|
|
tar xzvf $downloadedFile
|
|
|
|
|
|
|
|
mkdir -p $out/texmf-dist/
|
|
|
|
mkdir -p $out/share/fonts/
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
cp -r lmodern-2.005/* $out/texmf-dist/
|
|
|
|
cp -r lmodern-2.005/fonts/{opentype,type1} $out/share/fonts/
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
ln -s -r $out/texmf* $out/share/
|
|
|
|
'';
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
sha256 = "sha256-ySdKUt8o5FqmpdnYSzbGJ1f9t8VmKYXqPt53e1/E/FA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Latin Modern font";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|