mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03: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";
|
|
};
|
|
}
|
|
|