latinmodern-math: init at 1.959

+35
+33
pkgs/data/fonts/lm-math/default.nix
··· 1 + { stdenv, fetchzip }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "latinmodern-math-${version}"; 5 + version = "1.959"; 6 + 7 + src = fetchzip { 8 + url = "www.gust.org.pl/projects/e-foundry/lm-math/download/latinmodern-math-1959.zip"; 9 + sha256 = "15l3lxjciyjmbh0q6jjvzz16ibk4ij79in9fs47qhrfr2wrddpvs"; 10 + }; 11 + 12 + installPhase = '' 13 + mkdir -p $out/share/fonts/opentype/ 14 + mkdir -p $out/share/doc/${name}/ 15 + cp otf/*.otf $out/share/fonts/opentype/ 16 + cp doc/*.txt $out/share/doc/${name}/ 17 + ''; 18 + 19 + outputHashAlgo = "sha256"; 20 + outputHashMode = "recursive"; 21 + outputHash = "05k145bxgxjh7i9gx1ahigxfpc2v2vwzsy2mc41jvvg51kjr8fnn"; 22 + 23 + meta = with stdenv.lib; { 24 + 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."; 25 + homepage = http://www.gust.org.pl/projects/e-foundry/lm-math; 26 + # "The Latin Modern Math font is licensed under the GUST Font License (GFL), 27 + # which is a free license, legally equivalent to the LaTeX Project Public 28 + # License (LPPL), version 1.3c or later." - GUST website 29 + license = licenses.lppl13c; 30 + maintainers = with maintainers; [ siddharthist ]; 31 + platforms = platforms.all; 32 + }; 33 + }
+2
pkgs/top-level/all-packages.nix
··· 13170 13170 13171 13171 kochi-substitute-naga10 = callPackage ../data/fonts/kochi-substitute-naga10 {}; 13172 13172 13173 + latinmodern-math = callPackage ../data/fonts/lm-math {}; 13174 + 13173 13175 lato = callPackage ../data/fonts/lato {}; 13174 13176 13175 13177 league-of-moveable-type = callPackage ../data/fonts/league-of-moveable-type {};