Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 057a6e027d32
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 430869ba3bf3
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Sep 25, 2017

  1. Copy the full SHA
    714a138 View commit details

Commits on Sep 26, 2017

  1. Merge pull request #29787 from siddharthist/tex-gyre-termes-math

    tex-gyre-termes-math: init at 1.543
    Mic92 authored Sep 26, 2017
    Copy the full SHA
    430869b View commit details
Showing with 39 additions and 0 deletions.
  1. +37 −0 pkgs/data/fonts/tex-gyre-termes-math/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
37 changes: 37 additions & 0 deletions pkgs/data/fonts/tex-gyre-termes-math/default.nix
Original file line number Diff line number Diff line change
@@ -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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -13379,6 +13379,8 @@ with pkgs;

terminus_font_ttf = callPackage ../data/fonts/terminus-font-ttf { };

tex-gyre-termes-math = callPackage ../data/fonts/tex-gyre-termes-math { };

tipa = callPackage ../data/fonts/tipa { };

ttf_bitstream_vera = callPackage ../data/fonts/ttf-bitstream-vera { };