1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 17:10:48 +00:00
nixpkgs/pkgs/data/fonts/lmodern/default.nix
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00

27 lines
521 B
Nix

{ fetchzip }:
fetchzip {
name = "lmodern-2.004.5";
url = mirror://debian/pool/main/l/lmodern/lmodern_2.004.5.orig.tar.gz;
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/
ln -s -r $out/texmf* $out/share/
'';
sha256 = "11f10qnp8a435lhh19zc2znlf9q4isynmvjmvr63g5n5fhvhc192";
meta = {
description = "Latin Modern font";
};
}