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

27 lines
523 B
Nix
Raw Normal View History

{ fetchzip }:
2017-08-10 21:43:49 +02:00
fetchzip {
name = "lmodern-2.004.5";
url = "mirror://debian/pool/main/l/lmodern/lmodern_2.004.5.orig.tar.gz";
2017-08-10 21:43:49 +02:00
postFetch = ''
tar xzvf $downloadedFile
mkdir -p $out/texmf-dist/
mkdir -p $out/share/fonts/
cp -r lmodern-2.004.5/* $out/texmf-dist/
cp -r lmodern-2.004.5/fonts/{opentype,type1} $out/share/fonts/
2017-08-10 21:43:49 +02:00
ln -s -r $out/texmf* $out/share/
'';
sha256 = "11f10qnp8a435lhh19zc2znlf9q4isynmvjmvr63g5n5fhvhc192";
2017-08-10 21:43:49 +02:00
meta = {
description = "Latin Modern font";
};
}