git.iko.soy/typeable/nixpkgs
on master help sign in
tex-gyre-termes-math: init at 1.543
commit714a138857e00b2a996a8b61e1b31f45f7cf4b60 authorLangston Barrett <langston.barrett@gmail.com> dateMon 25 Sep 2017, 20:59 (9 years ago) parentd757d81
2 files changed+39
pkgs/data/fonts/tex-gyre-termes-math/default.nix+37 pkgs/top-level/all-packages.nix+2
pkgs/data/fonts/tex-gyre-termes-math/default.nixnew file+37
@@ -0,0 +1,37 @@
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+}
pkgs/top-level/all-packages.nix+2
@@ -13377,6 +13377,8 @@ with pkgs;
1337713377
1337813378 terminus_font_ttf = callPackage ../data/fonts/terminus-font-ttf { };
1337913379
13380+ tex-gyre-termes-math = callPackage ../data/fonts/tex-gyre-termes-math { };
13381+
1338013382 tipa = callPackage ../data/fonts/tipa { };
1338113383
1338213384 ttf_bitstream_vera = callPackage ../data/fonts/ttf-bitstream-vera { };