mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
f3282c8d1e
* treewide: remove unused variables * making ofborg happy
27 lines
569 B
Nix
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";
|
|
};
|
|
}
|
|
|