git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #5401 from bergey/fonts

No need for squash, merged thanks.

commit91061d287d6c75c5120b2127779c2570e7dd5c90 authorlethalman <lucabru@src.gnome.org> dateSun 21 Dec 2014, 15:34 (12 years ago) parent86213a179c8cc4
5 files changed+127−1
lib/licenses.nix+5 pkgs/data/fonts/gyre/default.nix+38 pkgs/data/fonts/league-of-moveable-type/default.nix+79 pkgs/data/fonts/nafees/default.nix+1−1 pkgs/top-level/all-packages.nix+4
lib/licenses.nix+5
@@ -255,6 +255,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
255255 fullName = "LaTeX Project Public License v1.2";
256256 };
257257
258+ lppl13c = spdx {
259+ spdxId = "LPPL-1.3c";
260+ fullName = "LaTeX Project Public License v1.3c";
261+ };
262+
258263 lpl-102 = spdx {
259264 spdxId = "LPL-1.02";
260265 fullName = "Lucent Public License v1.02";
pkgs/data/fonts/gyre/default.nixnew file+38
@@ -0,0 +1,38 @@
1+{stdenv, fetchurl, unzip}:
2+
3+stdenv.mkDerivation rec {
4+ baseName = "gyre-fonts";
5+ version = "2.005";
6+ name="${baseName}-${version}";
7+
8+ src = fetchurl {
9+ url = "http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/tg-2.005otf.zip";
10+ sha256 = "0kph9l3g7jb2bpmxdbdg5zl56wacmnvdvsdn7is1gc750sqvsn31";
11+ };
12+
13+ buildInputs = [unzip];
14+
15+ sourceRoot = ".";
16+
17+ installPhase = ''
18+ mkdir -p $out/share/fonts/truetype
19+ cp *.otf $out/share/fonts/truetype
20+ '';
21+
22+ meta = {
23+ description = "OpenType fonts from the Gyre project, suitable for use with (La)TeX";
24+
25+ longDescription = ''The Gyre project started in 2006, and will
26+ eventually include enhanced releases of all 35 freely available
27+ PostScript fonts distributed with Ghostscript v4.00. These are
28+ being converted to OpenType and extended with diacritical marks
29+ covering all modern European languages and then some'';
30+
31+ homepage = "http://www.gust.org.pl/projects/e-foundry/tex-gyre/index_html#Readings";
32+
33+ license = stdenv.lib.licenses.lppl13c;
34+
35+ platforms = stdenv.lib.platforms.all;
36+ maintainers = with stdenv.lib.maintainers; [ bergey ];
37+ };
38+}
pkgs/data/fonts/league-of-moveable-type/default.nixnew file+79
@@ -0,0 +1,79 @@
1+{stdenv, fetchurl, unzip}:
2+
3+stdenv.mkDerivation rec {
4+ baseName = "league-of-moveable-type";
5+ version = "2014-12";
6+ name="${baseName}-${version}";
7+
8+ srcs = [(fetchurl {
9+ url = "https://www.theleagueofmoveabletype.com/league-gothic/download";
10+ sha256 = "0nbwsbwhs375kbis3lpk98dw05mnh455vghjg1cq0j2fsj1zb99b";
11+ name = "league-gothic.zip";
12+ })
13+
14+ (fetchurl {
15+ url = "https://www.theleagueofmoveabletype.com/fanwood/download";
16+ sha256 = "1023da7hik8ci8s7rcy6lh4h9p6igx1kz9y1a2cv6sizbp819w8g";
17+ name = "fanwood.zip";
18+ })
19+
20+ (fetchurl {
21+ url = "https://www.theleagueofmoveabletype.com/linden-hill/download";
22+ sha256 = "0rm92rz9kki91l5wcn149mdpwq1mfql4dv6d159hv534qmg3z3ks";
23+ name = "linden-hill.zip";
24+ })
25+
26+ (fetchurl {
27+ url = "https://www.theleagueofmoveabletype.com/raleway/download";
28+ sha256 = "0f6anym0adq0ankqbdqx4lyzbysx824zqdj1x60gafyisjx48y87";
29+ name = "raleway.zip";
30+ })
31+
32+ (fetchurl {
33+ url = "https://www.theleagueofmoveabletype.com/prociono/download";
34+ sha256 = "11hamjry5lx3cykzpjq7kwlp6h9cjqy470fmn9f2pi954b46xkdy";
35+ name = "prociono.zip";
36+ })
37+
38+ (fetchurl {
39+ url = "https://www.theleagueofmoveabletype.com/goudy-bookletter-1911/download";
40+ sha256 = "01qganq5n7rgqw546lf45kj8j7ymfjr00i2bwp3qw7ibifg9pn4n";
41+ name = "goudy-bookletter-1911.zip";
42+ })
43+
44+ (fetchurl {
45+ url = "https://www.theleagueofmoveabletype.com/sorts-mill-goudy/download";
46+ sha256 = "11aywj5lzapk04k2yzi1g96acbbm48x902ka0v9cfwwqpn6js9ra";
47+ name = "sorts-mill-goudy.zip";
48+ })
49+
50+
51+];
52+
53+ buildInputs = [unzip];
54+
55+ sourceRoot = ".";
56+
57+ installPhase = ''
58+ mkdir -p $out/share/fonts/truetype
59+ cp */*.otf $out/share/fonts/truetype
60+ '';
61+
62+
63+ meta = {
64+ description = "Font Collection by The League of Moveable Type";
65+
66+ longDescription = '' We're done with the tired old fontstacks of
67+ yesteryear. The web is no longer limited, and now it's time to raise
68+ our standards. Since 2009, The League has given only the most
69+ well-made, free & open-source, @font-face ready fonts.
70+ '';
71+
72+ homepage = "https://www.theleagueofmoveabletype.com/";
73+
74+ license = stdenv.lib.licenses.ofl;
75+
76+ platforms = stdenv.lib.platforms.all;
77+ maintainers = with stdenv.lib.maintainers; [ bergey ];
78+ };
79+}
pkgs/data/fonts/nafees/default.nix+1−1
@@ -54,6 +54,6 @@ stdenv.mkDerivation rec {
5454 license = "unknown";
5555
5656 platforms = stdenv.lib.platforms.all;
57− maintainers = [ "Daniel Bergey <bergey@teallabs.org>" ];
57+ maintainers = with stdenv.lib.maintainers; [ bergey ];
5858 };
5959}
pkgs/top-level/all-packages.nix+4
@@ -8906,6 +8906,8 @@ let
89068906
89078907 inherit (gnome3) gsettings_desktop_schemas;
89088908
8909+ gyre-fonts = callPackage ../data/fonts/gyre {};
8910+
89098911 hicolor_icon_theme = callPackage ../data/icons/hicolor-icon-theme { };
89108912
89118913 inconsolata = callPackage ../data/fonts/inconsolata {};
@@ -8918,6 +8920,8 @@ let
89188920
89198921 kochi-substitute-naga10 = callPackage ../data/fonts/kochi-substitute-naga10 {};
89208922
8923+ league-of-moveable-type = callPackage ../data/fonts/league-of-moveable-type {};
8924+
89218925 liberation_ttf_from_source = callPackage ../data/fonts/redhat-liberation-fonts { };
89228926 liberation_ttf_binary = callPackage ../data/fonts/redhat-liberation-fonts/binary.nix { };
89238927 liberation_ttf = liberation_ttf_binary;