3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/fonts/lmodern/lmmath.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
569 B
Nix

{ fetchzip }:
fetchzip {
name = "lmmath-0.903";
url = "http://www.gust.org.pl/projects/e-foundry/lm-math/download/lmmath0903otf";
postFetch = ''
unzip $downloadedFile
mkdir -p $out/texmf-dist/fonts/opentype
mkdir -p $out/share/fonts/opentype
cp *.{OTF,otf} $out/texmf-dist/fonts/opentype/lmmath-regular.otf
cp *.{OTF,otf} $out/share/fonts/opentype/lmmath-regular.otf
ln -s -r $out/texmf* $out/share/
'';
sha256 = "19821d4vbd6z20jzsw24zh0hhwayglhrfw8larg2w6alhdqi7rln";
meta = {
description = "Latin Modern font";
};
}