tex-gyre-math fonts: init at 1.005, 1.632, 1.533, 1.543

+73 -38
+66
pkgs/data/fonts/tex-gyre-math/default.nix
··· 1 + { variant, stdenv, fetchzip }: 2 + 3 + let 4 + variants = { 5 + bonum = { 6 + displayName = "Bonum"; 7 + version = "1.005"; 8 + sha256 = "1b6x7siypyxp1lhq7xxdqafwbn6p2p3xm3jb38q999sv8cgslxz8"; 9 + outputHash = "1zjaxkzidqmxakh9d61n0by9mi8hrmir45jppjj6hzwhm3rvknff"; 10 + }; 11 + pagella = { 12 + displayName = "Pagella"; 13 + version = "1.632"; 14 + sha256 = "0f4cgq9w0lc1fbcbfqiv19mdhivbsscl13jmb0ln685641ci2sjr"; 15 + outputHash = "0wz2n1dpx9b8a0qgqy8vl712fxhi87mhcda281xaad62chndwf6k"; 16 + }; 17 + schola = { 18 + displayName = "Schola"; 19 + version = "1.533"; 20 + sha256 = "0caqgkz7gz700h5a1mai0gq8hv7skrgs5nnrs1f7zw1mb9g53ya9"; 21 + outputHash = "0jk4bpxki95a9lmfj4cgpnv1jwlkh8qixbkf498n1x7hkaz03f5n"; 22 + }; 23 + termes = { 24 + displayName = "Termes"; 25 + version = "1.543"; 26 + sha256 = "10ayqfpryfn1l35hy0vwyjzw3a6mfsnzgf78vsnccgk2gz1g9vhz"; 27 + outputHash = "0pa433cgshlypbyrrlp3qq0wg972rngcp37pr8pxdfshgz13q1mm"; 28 + }; 29 + }; 30 + current = variants."${variant}"; 31 + dotless_version = builtins.replaceStrings ["."] [""] current.version; 32 + in stdenv.mkDerivation rec { 33 + name = "tex-gyre-${variant}-math-${current.version}"; 34 + version = "${current.version}"; 35 + 36 + src = fetchzip { 37 + url = "www.gust.org.pl/projects/e-foundry/tg-math/download/texgyre${variant}-math-${dotless_version}.zip"; 38 + sha256 = current.sha256; 39 + }; 40 + 41 + installPhase = '' 42 + mkdir -p $out/share/fonts/opentype/ 43 + mkdir -p $out/share/doc/${name}/ 44 + cp -v opentype/*.otf $out/share/fonts/opentype/ 45 + cp -v doc/*.txt $out/share/doc/${name}/ 46 + ''; 47 + 48 + outputHashAlgo = "sha256"; 49 + outputHashMode = "recursive"; 50 + outputHash = current.outputHash; 51 + 52 + meta = with stdenv.lib; { 53 + longDescription = '' 54 + TeX Gyre ${current.displayName} Math is a math companion for the TeX Gyre 55 + ${current.displayName} family of fonts (see 56 + http://www.gust.org.pl/projects/e-foundry/tex-gyre/) in the OpenType format. 57 + ''; 58 + homepage = http://www.gust.org.pl/projects/e-foundry/tg-math; 59 + # "The TeX Gyre Math fonts are licensed under the GUST Font License (GFL), 60 + # which is a free license, legally equivalent to the LaTeX Project Public 61 + # License (LPPL), version 1.3c or later." - GUST website 62 + license = licenses.lppl13c; 63 + maintainers = with maintainers; [ siddharthist ]; 64 + platforms = platforms.all; 65 + }; 66 + }
-37
pkgs/data/fonts/tex-gyre-termes-math/default.nix
··· 1 - { stdenv, fetchzip }: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "tex-gyre-termes-math-${version}"; 5 - version = "1.543"; 6 - 7 - src = fetchzip { 8 - url = "www.gust.org.pl/projects/e-foundry/tg-math/download/texgyretermes-math-1543.zip"; 9 - sha256 = "10ayqfpryfn1l35hy0vwyjzw3a6mfsnzgf78vsnccgk2gz1g9vhz"; 10 - }; 11 - 12 - installPhase = '' 13 - mkdir -p $out/share/fonts/opentype/ 14 - mkdir -p $out/share/doc/${name}/ 15 - cp -v opentype/*.otf $out/share/fonts/opentype/ 16 - cp -v doc/*.txt $out/share/doc/${name}/ 17 - ''; 18 - 19 - outputHashAlgo = "sha256"; 20 - outputHashMode = "recursive"; 21 - outputHash = "0pa433cgshlypbyrrlp3qq0wg972rngcp37pr8pxdfshgz13q1mm"; 22 - 23 - meta = with stdenv.lib; { 24 - longDescription = '' 25 - TeX Gyre Termes Math is a math companion for the TeX Gyre Termes family 26 - of fonts (see http://www.gust.org.pl/projects/e-foundry/tex-gyre/) in 27 - the OpenType format. 28 - ''; 29 - homepage = http://www.gust.org.pl/projects/e-foundry/tg-math; 30 - # "The TeX Gyre Math fonts are licensed under the GUST Font License (GFL), 31 - # which is a free license, legally equivalent to the LaTeX Project Public 32 - # License (LPPL), version 1.3c or later." - GUST website 33 - license = licenses.lppl13c; 34 - maintainers = with maintainers; [ siddharthist ]; 35 - platforms = platforms.all; 36 - }; 37 - }
+7 -1
pkgs/top-level/all-packages.nix
··· 13386 13386 13387 13387 terminus_font_ttf = callPackage ../data/fonts/terminus-font-ttf { }; 13388 13388 13389 - tex-gyre-termes-math = callPackage ../data/fonts/tex-gyre-termes-math { }; 13389 + tex-gyre-bonum-math = callPackage ../data/fonts/tex-gyre-math { variant = "bonum"; }; 13390 + 13391 + tex-gyre-pagella-math = callPackage ../data/fonts/tex-gyre-math { variant = "pagella"; }; 13392 + 13393 + tex-gyre-schola-math = callPackage ../data/fonts/tex-gyre-math { variant = "schola"; }; 13394 + 13395 + tex-gyre-termes-math = callPackage ../data/fonts/tex-gyre-math { variant = "termes"; }; 13390 13396 13391 13397 tipa = callPackage ../data/fonts/tipa { }; 13392 13398