mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
28 lines
620 B
Nix
28 lines
620 B
Nix
{ stdenv, 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";
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|
|
|