Merge pull request #29786 from siddharthist/latinmodern-math

latinmodern-math: init at 1.959
This commit is contained in:
Jörg Thalheim 2017-09-26 07:25:06 +01:00 committed by GitHub
commit 057a6e027d
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ stdenv, fetchzip }:
stdenv.mkDerivation rec {
name = "latinmodern-math-${version}";
version = "1.959";
src = fetchzip {
url = "www.gust.org.pl/projects/e-foundry/lm-math/download/latinmodern-math-1959.zip";
sha256 = "15l3lxjciyjmbh0q6jjvzz16ibk4ij79in9fs47qhrfr2wrddpvs";
};
installPhase = ''
mkdir -p $out/share/fonts/opentype/
mkdir -p $out/share/doc/${name}/
cp otf/*.otf $out/share/fonts/opentype/
cp doc/*.txt $out/share/doc/${name}/
'';
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "05k145bxgxjh7i9gx1ahigxfpc2v2vwzsy2mc41jvvg51kjr8fnn";
meta = with stdenv.lib; {
description = "The Latin Modern Math (LM Math) font completes the modernization of the Computer Modern family of typefaces designed and programmed by Donald E. Knuth.";
homepage = http://www.gust.org.pl/projects/e-foundry/lm-math;
# "The Latin Modern Math font is licensed under the GUST Font License (GFL),
# which is a free license, legally equivalent to the LaTeX Project Public
# License (LPPL), version 1.3c or later." - GUST website
license = licenses.lppl13c;
maintainers = with maintainers; [ siddharthist ];
platforms = platforms.all;
};
}

View File

@ -13170,6 +13170,8 @@ with pkgs;
kochi-substitute-naga10 = callPackage ../data/fonts/kochi-substitute-naga10 {};
latinmodern-math = callPackage ../data/fonts/lm-math {};
lato = callPackage ../data/fonts/lato {};
league-of-moveable-type = callPackage ../data/fonts/league-of-moveable-type {};