nixpkgs/pkgs/data/fonts/lmodern/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
514 B
Nix
Raw Normal View History

{ fetchzip }:
2017-08-10 19:43:49 +00:00
fetchzip {
2022-03-13 23:31:33 +00:00
name = "lmodern-2.005";
2022-03-13 23:31:33 +00:00
url = "mirror://debian/pool/main/l/lmodern/lmodern_2.005.orig.tar.gz";
2017-08-10 19:43:49 +00:00
postFetch = ''
tar xzvf $downloadedFile
mkdir -p $out/texmf-dist/
mkdir -p $out/share/fonts/
2022-03-13 23:31:33 +00:00
cp -r lmodern-2.005/* $out/texmf-dist/
cp -r lmodern-2.005/fonts/{opentype,type1} $out/share/fonts/
2017-08-10 19:43:49 +00:00
ln -s -r $out/texmf* $out/share/
'';
2022-03-13 23:31:33 +00:00
sha256 = "sha256-ySdKUt8o5FqmpdnYSzbGJ1f9t8VmKYXqPt53e1/E/FA=";
2017-08-10 19:43:49 +00:00
meta = {
description = "Latin Modern font";
};
}