git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #29787 from siddharthist/tex-gyre-termes-math

tex-gyre-termes-math: init at 1.543

commit430869ba3bf37d3a557b4a03208362b0dde549a6 authorJörg Thalheim <Mic92@users.noreply.github.com> dateTue 26 Sep 2017, 07:25 (9 years ago) parent057a6e0714a138
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
@@ -13379,6 +13379,8 @@ with pkgs;
1337913379
1338013380 terminus_font_ttf = callPackage ../data/fonts/terminus-font-ttf { };
1338113381
13382+ tex-gyre-termes-math = callPackage ../data/fonts/tex-gyre-termes-math { };
13383+
1338213384 tipa = callPackage ../data/fonts/tipa { };
1338313385
1338413386 ttf_bitstream_vera = callPackage ../data/fonts/ttf-bitstream-vera { };