git.iko.soy/typeable/nixpkgs
on master help sign in
add TeX Gyre fonts
commita2db5ebf20bf3104514033c22155fef3c23e8851 authorDaniel Bergey <bergey@alum.mit.edu> dateFri 6 Jun 2014, 01:20 (13 years ago) parent123f553
2 files changed+39
pkgs/data/fonts/gyre/default.nix+37 pkgs/top-level/all-packages.nix+2
pkgs/data/fonts/gyre/default.nixnew file+37
@@ -0,0 +1,37 @@
1+{stdenv, fetchurl, unzip}:
2+
3+stdenv.mkDerivation rec {
4+ name = "gyre-fonts";
5+
6+ src = fetchurl {
7+ url = "http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/tg-2.005otf.zip";
8+ sha256 = "0kph9l3g7jb2bpmxdbdg5zl56wacmnvdvsdn7is1gc750sqvsn31";
9+ };
10+
11+ buildInputs = [unzip];
12+
13+ sourceRoot = ".";
14+
15+ installPhase = ''
16+ mkdir -p $out/share/fonts/truetype
17+ cp *.otf $out/share/fonts/truetype
18+ '';
19+
20+ meta = {
21+ description = "OpenType fonts from the Gyre project, suitable for use with (La)TeX";
22+
23+ longDescription = ''The Gyre project started in 2006, and will
24+ eventually include enhanced releases of all 35 freely available
25+ PostScript fonts distributed with Ghostscript v4.00. These are
26+ being converted to OpenType and extended with diacritical marks
27+ covering all modern European languages and then some'';
28+
29+ homepage = "http://www.gust.org.pl/projects/e-foundry/tex-gyre/index_html#Readings";
30+
31+ # GUST Font License: http://www.gust.org.pl/projects/e-foundry/licenses
32+ license = "unknown";
33+
34+ platforms = stdenv.lib.platforms.all;
35+ maintainers = [ "Daniel Bergey <bergey@teallabs.org>" ];
36+ };
37+}
pkgs/top-level/all-packages.nix+2
@@ -8904,6 +8904,8 @@ let
89048904
89058905 inherit (gnome3) gsettings_desktop_schemas;
89068906
8907+ gyre-fonts = callPackage ../data/fonts/gyre {};
8908+
89078909 hicolor_icon_theme = callPackage ../data/icons/hicolor-icon-theme { };
89088910
89098911 inconsolata = callPackage ../data/fonts/inconsolata {};