summary refs log tree commit diff
path: root/pkgs/data
diff options
context:
space:
mode:
authorLangston Barrett <langston.barrett@gmail.com>2017-09-25 20:59:28 +0000
committerLangston Barrett <langston.barrett@gmail.com>2017-09-25 21:01:53 +0000
commit714a138857e00b2a996a8b61e1b31f45f7cf4b60 (patch)
tree092bdbb66e5faf19fd8726303a6755c71cadd500 /pkgs/data
parentd757d8142e88187388fbea4e884feadb0e33d36f (diff)
downloadnixpkgs-714a138857e00b2a996a8b61e1b31f45f7cf4b60.tar
nixpkgs-714a138857e00b2a996a8b61e1b31f45f7cf4b60.tar.gz
nixpkgs-714a138857e00b2a996a8b61e1b31f45f7cf4b60.tar.bz2
nixpkgs-714a138857e00b2a996a8b61e1b31f45f7cf4b60.tar.lz
nixpkgs-714a138857e00b2a996a8b61e1b31f45f7cf4b60.tar.xz
nixpkgs-714a138857e00b2a996a8b61e1b31f45f7cf4b60.tar.zst
nixpkgs-714a138857e00b2a996a8b61e1b31f45f7cf4b60.zip
tex-gyre-termes-math: init at 1.543
Diffstat (limited to 'pkgs/data')
-rw-r--r--pkgs/data/fonts/tex-gyre-termes-math/default.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/data/fonts/tex-gyre-termes-math/default.nix b/pkgs/data/fonts/tex-gyre-termes-math/default.nix
new file mode 100644
index 00000000000..83b157b085b
--- /dev/null
+++ b/pkgs/data/fonts/tex-gyre-termes-math/default.nix
@@ -0,0 +1,37 @@
+{ stdenv, fetchzip }:
+
+stdenv.mkDerivation rec {
+  name = "tex-gyre-termes-math-${version}";
+  version = "1.543";
+
+  src = fetchzip {
+    url = "www.gust.org.pl/projects/e-foundry/tg-math/download/texgyretermes-math-1543.zip";
+    sha256 = "10ayqfpryfn1l35hy0vwyjzw3a6mfsnzgf78vsnccgk2gz1g9vhz";
+  };
+
+  installPhase = ''
+    mkdir -p $out/share/fonts/opentype/
+    mkdir -p $out/share/doc/${name}/
+    cp -v opentype/*.otf $out/share/fonts/opentype/
+    cp -v doc/*.txt $out/share/doc/${name}/
+  '';
+
+  outputHashAlgo = "sha256";
+  outputHashMode = "recursive";
+  outputHash = "0pa433cgshlypbyrrlp3qq0wg972rngcp37pr8pxdfshgz13q1mm";
+
+  meta = with stdenv.lib; {
+    longDescription = ''
+      TeX Gyre Termes Math is a math companion for the TeX Gyre Termes family
+      of fonts (see http://www.gust.org.pl/projects/e-foundry/tex-gyre/) in
+      the OpenType format.
+    '';
+    homepage = http://www.gust.org.pl/projects/e-foundry/tg-math;
+    # "The TeX Gyre Math fonts are 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;
+  };
+}