git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #9977 from avnik/inconsolata-lgc

inconsolata-lgc: init at 30bbc1b

commit329d0271ed6122ef9869e1090ea84f681f2e1fdc authorArseniy Seroka <jagajaga@users.noreply.github.com> dateSun 27 Sep 2015, 23:33 (11 years ago) parent8d1dd26db74af9
16 files changed+121−66
pkgs/data/fonts/aurulent-sans/default.nix+6−2 pkgs/data/fonts/dejavu-fonts/default.nix+3 pkgs/data/fonts/font-awesome-ttf/default.nix−3 pkgs/data/fonts/fontWrap/default.nix+23−23 pkgs/data/fonts/freefont-ttf/default.nix+1−4 pkgs/data/fonts/gyre/default.nix+7−9 pkgs/data/fonts/hack/default.nix−1 pkgs/data/fonts/inconsolata/lgc.nix+59 pkgs/data/fonts/mph-2b-damase/default.nix+4 pkgs/data/fonts/nafees/default.nix+6−7 pkgs/data/fonts/opensans-ttf/default.nix−3 pkgs/data/fonts/poly/default.nix+8−8 pkgs/data/fonts/redhat-liberation-fonts/binary.nix−3 pkgs/data/fonts/redhat-liberation-fonts/default.nix−3 pkgs/data/fonts/ttf-bitstream-vera/default.nix+3 pkgs/top-level/all-packages.nix+1
pkgs/data/fonts/aurulent-sans/default.nix+6−2
@@ -2,17 +2,21 @@
22
33stdenv.mkDerivation rec {
44 name = "aurulent-sans-0.1";
5+
56 src = fetchgit {
67 url = "https://github.com/deepfire/hartke-aurulent-sans.git";
78 rev = "refs/tags/${name}";
89 sha256 = "01hvpvbrks40g9k1xr2f1gxnd5wd0sxidgfbwrm94pdi1a36xxrk";
910 };
11+
1012 buildPhase = "true";
11− installPhase = "
13+
14+ installPhase = ''
1215 fontDir=$out/share/fonts/opentype
1316 mkdir -p $fontDir
1417 cp *.otf $fontDir
15− ";
18+ '';
19+
1620 meta = {
1721 description = "Aurulent Sans";
1822 longDescription = "Aurulent Sans is a humanist sans serif intended to be used as an interface font.";
pkgs/data/fonts/dejavu-fonts/default.nix+3
@@ -20,7 +20,9 @@ stdenv.mkDerivation rec {
2020 url = "mirror://sourceforge/dejavu/dejavu-fonts-${version}.tar.bz2";
2121 sha256 = "1xdbi4llrq1qbkd73352ibrfqcbz93dww8hab216qz5szd95yvv4";
2222 };
23+
2324 buildFlags = "full-ttf";
25+
2426 preBuild = ''
2527 sed -e s@/usr/bin/env@$(type -tP env)@ -i scripts/*
2628 sed -e s@/usr/bin/perl@$(type -tP perl)@ -i scripts/*
@@ -30,6 +32,7 @@ stdenv.mkDerivation rec {
3032 ln -s ${unicodeData} resources/UnicodeData.txt
3133 ln -s ${blocks} resources/Blocks.txt
3234 '';
35+
3336 installPhase = ''
3437 mkdir -p $out/share/fonts/truetype
3538 for i in $(find build -name '*.ttf'); do
pkgs/data/fonts/font-awesome-ttf/default.nix−3
@@ -16,15 +16,12 @@ stdenv.mkDerivation rec {
1616
1717 meta = {
1818 description = "Font Awesome - TTF font";
19−
2019 longDescription = ''
2120 Font Awesome gives you scalable vector icons that can instantly be customized.
2221 This package includes only the TTF font. For full CSS etc. see the project website.
2322 '';
24−
2523 homepage = "http://fortawesome.github.io/Font-Awesome/";
2624 license = stdenv.lib.licenses.ofl;
27−
2825 platforms = stdenv.lib.platforms.all;
2926 maintainers = [ stdenv.lib.maintainers.abaldeau ];
3027 };
pkgs/data/fonts/fontWrap/default.nix+23−23
@@ -1,31 +1,31 @@
11args @ { fetchurl, stdenv, builderDefs, paths, mkfontdir, mkfontscale }:
22with args;
3− let localDefs = builderDefs.passthru.function {
4− src =""; /* put a fetchurl here */
5− buildInputs = [mkfontdir mkfontscale];
6− configureFlags = [];
7− };
8− in with localDefs;
3+ let localDefs = builderDefs.passthru.function {
4+ src =""; /* put a fetchurl here */
5+ buildInputs = [mkfontdir mkfontscale];
6+ configureFlags = [];
7+ };
8+ in with localDefs;
99let
10− doInstall = fullDepEntry ("
11− mkdir -p \$out/share/fonts/
12− cd \$out/share/fonts
13− for i in ${toString paths}; do
14− find \$i -type f -exec ln -s '{}' . ';' ;
15− done
16− mkfontdir
17− mkfontscale
18− ") [minInit addInputs defEnsureDir] ;
10+ doInstall = fullDepEntry ("
11+ mkdir -p \$out/share/fonts/
12+ cd \$out/share/fonts
13+ for i in ${toString paths}; do
14+ find \$i -type f -exec ln -s '{}' . ';' ;
15+ done
16+ mkfontdir
17+ mkfontscale
18+ ") [minInit addInputs defEnsureDir] ;
1919in
2020stdenv.mkDerivation rec {
21− name = "wrapped-font-dir";
22− builder = writeScript (name + "-builder")
23− (textClosure localDefs [ doInstall doForceShare doPropagate]);
21+ name = "wrapped-font-dir";
22+ builder = writeScript (name + "-builder")
23+ (textClosure localDefs [ doInstall doForceShare doPropagate]);
2424 preferLocalBuild = true;
25− meta = {
26− description = "
27− Just a wrapper to create fonts.dir and fonts.scale .
25+ meta = {
26+ description = "
27+ Just a wrapper to create fonts.dir and fonts.scale .
2828";
29− inherit src;
30− };
29+ inherit src;
30+ };
3131}
pkgs/data/fonts/freefont-ttf/default.nix+1−4
@@ -17,17 +17,14 @@ stdenv.mkDerivation rec {
1717
1818 meta = {
1919 description = "GNU Free UCS Outline Fonts";
20−
2120 longDescription = ''
2221 The GNU Freefont project aims to provide a set of free outline
2322 (PostScript Type0, TrueType, OpenType...) fonts covering the ISO
2423 10646/Unicode UCS (Universal Character Set).
2524 '';
26−
2725 homepage = http://www.gnu.org/software/freefont/;
2826 license = stdenv.lib.licenses.gpl3Plus;
29−
3027 platforms = stdenv.lib.platforms.all;
31− maintainers = [ ];
28+ maintainers = [];
3229 };
3330}
pkgs/data/fonts/gyre/default.nix+7−9
@@ -21,17 +21,15 @@ stdenv.mkDerivation rec {
2121
2222 meta = {
2323 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−
24+ longDescription = ''
25+ 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+ '';
3131 homepage = "http://www.gust.org.pl/projects/e-foundry/tex-gyre/index_html#Readings";
32−
3332 license = stdenv.lib.licenses.lppl13c;
34−
3533 platforms = stdenv.lib.platforms.all;
3634 maintainers = with stdenv.lib.maintainers; [ bergey ];
3735 };
pkgs/data/fonts/hack/default.nix−1
@@ -42,7 +42,6 @@ stdenv.mkDerivation {
4242 the license is available in LICENSE.md" (From the GitHub page)
4343 */
4444 license = licenses.free;
45−
4645 platforms = platforms.all;
4746 maintainers = with maintainers; [ nckx ];
4847 };
pkgs/data/fonts/inconsolata/lgc.nixnew file+59
@@ -0,0 +1,59 @@
1+{stdenv, fetchFromGitHub, fontforge}:
2+
3+stdenv.mkDerivation rec {
4+ name = "inconsolata-lgc-${version}";
5+ version = "git-2015-04-18";
6+
7+ src = fetchFromGitHub {
8+ owner = "MihailJP";
9+ repo = "Inconsolata-LGC";
10+ rev = "30bbc1bd82502bf76f1cc5553f17388da2ba20e7";
11+ sha256 = "02af2gpksdxdp7zfh5qhgfqzc6gvah9v4ph818irwhs9gcq8833c";
12+ };
13+
14+ buildInputs = [ fontforge ];
15+
16+ installPhase = ''
17+ mkdir -p $out/share/fonts/truetype
18+ cp -v $(find . -name '*.ttf') $out/share/fonts/truetype
19+
20+ mkdir -p $out/share/fonts/opentype
21+ cp -v $(find . -name '*.otf') $out/share/fonts/opentype
22+
23+ mkdir -p "$out/doc/${name}"
24+ cp -v AUTHORS ChangeLog COPYING License.txt README "$out/doc/${name}" || true
25+ '';
26+
27+ meta = {
28+ description = "Fork of Inconsolata font, with proper support of Cyrillic and Greek";
29+ longDescription = ''
30+ Inconsolata is one of the most suitable font for programmers created by Raph
31+ Levien. Since the original Inconsolata does not contain Cyrillic alphabet,
32+ it was slightly inconvenient for not a few programmers from Russia.
33+
34+ Inconsolata LGC is a modified version of Inconsolata with added the Cyrillic
35+ alphabet which directly descends from Inconsolata Hellenic supporting modern
36+ Greek.
37+
38+ Inconsolata LGC is licensed under SIL OFL.
39+
40+
41+ Inconsolata LGC changes:
42+ * Cyrillic glyphs added.
43+ * Italic and Bold font added.
44+
45+ Changes inherited from Inconsolata Hellenic:
46+ * Greek glyphs.
47+
48+ Changes inherited from Inconsolata-dz:
49+ * Straight quotation marks.
50+ '';
51+
52+ # See `License.txt' for details.
53+ license = stdenv.lib.licenses.ofl;
54+ homepage = https://github.com/MihailJP/Inconsolata-LGC;
55+ maintainers = [
56+ stdenv.lib.maintainers.avnik
57+ ];
58+ };
59+}
pkgs/data/fonts/mph-2b-damase/default.nix+4
@@ -2,14 +2,18 @@
22
33stdenv.mkDerivation {
44 name = "MPH-2B-Damase";
5+
56 src = fetchurl {
67 url = http://www.wazu.jp/downloads/damase_v.2.zip;
78 sha256 = "0y7rakbysjjrzcc5y100hkn64j7js434x20pyi6rllnw2w2n1y1h";
89 };
10+
911 buildInputs = [unzip];
12+
1013 unpackPhase = ''
1114 unzip $src;
1215 '';
16+
1317 installPhase = ''
1418 mkdir -p $out/share/fonts/truetype
1519 cp *.ttf $out/share/fonts/truetype
pkgs/data/fonts/nafees/default.nix+6−7
@@ -40,19 +40,18 @@ stdenv.mkDerivation rec {
4040
4141 meta = {
4242 description = "OpenType Urdu font from the Center for Research in Urdu Language Processing";
43−
44− longDescription = '' The Nafees font family is developed according
45− to calligraphic rules, following the style of Syed Nafees
46− Al-Hussaini (Nafees Raqam) one of the finest calligraphers of
47− Pakistan '';
48−
43+ longDescription = ''
44+ The Nafees font family is developed according
45+ to calligraphic rules, following the style of Syed Nafees
46+ Al-Hussaini (Nafees Raqam) one of the finest calligraphers of
47+ Pakistan
48+ '';
4949 homepage = "http://www.cle.org.pk/software/localization.htm";
5050
5151 # Used to be GPLv2. The license distributed with the fonts looks
5252 # more like a modified BSD, but still contains the GPLv2 embedded
5353 # font exception, and some not-for-resale language.
5454 license = "unknown";
55−
5655 platforms = stdenv.lib.platforms.all;
5756 maintainers = with stdenv.lib.maintainers; [ bergey ];
5857 };
pkgs/data/fonts/opensans-ttf/default.nix−3
@@ -19,15 +19,12 @@ stdenv.mkDerivation rec {
1919
2020 meta = {
2121 description = "Open Sans fonts";
22−
2322 longDescription = ''
2423 Open Sans is a humanist sans serif typeface designed by Steve Matteson,
2524 Type Director of Ascender Corp.
2625 '';
27−
2826 homepage = "http://en.wikipedia.org/wiki/Open_Sans";
2927 license = stdenv.lib.licenses.asl20;
30−
3128 platforms = stdenv.lib.platforms.all;
3229 maintainers = [ ];
3330 };
pkgs/data/fonts/poly/default.nix+8−8
@@ -30,14 +30,14 @@ stdenv.mkDerivation rec {
3030 meta = {
3131 description = "Medium contrast serif font";
3232 longDescription = ''
33− With short ascenders and a very high x-height, Poly is efficient in small
34− sizes. Thanks to its careful balance between the x-height and glyph widths,
35− it allows more economy and legibility than standard web serifs, even in
36− small sizes. The aglutinative language for which it was designed contains
37− very long words. The goal was to develop a typeface that would tolerate
38− cramped tracking and that would increase the number of letters on a single
39− line. Poly is a Unicode typeface family that supports Open Type features
40− and languages that use the Latin script and its variants.
33+ With short ascenders and a very high x-height, Poly is efficient in small
34+ sizes. Thanks to its careful balance between the x-height and glyph widths,
35+ it allows more economy and legibility than standard web serifs, even in
36+ small sizes. The aglutinative language for which it was designed contains
37+ very long words. The goal was to develop a typeface that would tolerate
38+ cramped tracking and that would increase the number of letters on a single
39+ line. Poly is a Unicode typeface family that supports Open Type features
40+ and languages that use the Latin script and its variants.
4141 '';
4242 homepage = http://www.fontsquirrel.com/fonts/poly;
4343 license = stdenv.lib.licenses.ofl;
pkgs/data/fonts/redhat-liberation-fonts/binary.nix−3
@@ -18,7 +18,6 @@ stdenv.mkDerivation rec {
1818
1919 meta = {
2020 description = "Liberation Fonts, replacements for Times New Roman, Arial, and Courier New";
21−
2221 longDescription = ''
2322 The Liberation Fonts are intended to be replacements for the three most
2423 commonly used fonts on Microsoft systems: Times New Roman, Arial, and
@@ -38,9 +37,7 @@ stdenv.mkDerivation rec {
3837
3938 # See `License.txt' for details.
4039 license = stdenv.lib.licenses.gpl2Oss;
41−
4240 homepage = https://fedorahosted.org/liberation-fonts/;
43−
4441 maintainers = [
4542 stdenv.lib.maintainers.raskin
4643 ];
pkgs/data/fonts/redhat-liberation-fonts/default.nix−3
@@ -20,7 +20,6 @@ stdenv.mkDerivation rec {
2020
2121 meta = {
2222 description = "Liberation Fonts, replacements for Times New Roman, Arial, and Courier New";
23−
2423 longDescription = ''
2524 The Liberation Fonts are intended to be replacements for the three most
2625 commonly used fonts on Microsoft systems: Times New Roman, Arial, and
@@ -40,9 +39,7 @@ stdenv.mkDerivation rec {
4039
4140 # See `License.txt' for details.
4241 license = stdenv.lib.licenses.gpl2Oss;
43−
4442 homepage = https://fedorahosted.org/liberation-fonts/;
45−
4643 maintainers = [
4744 stdenv.lib.maintainers.raskin
4845 ];
pkgs/data/fonts/ttf-bitstream-vera/default.nix+3
@@ -2,11 +2,14 @@
22
33stdenv.mkDerivation {
44 name = "ttf-bitstream-vera-1.10";
5+
56 src = fetchurl {
67 url = mirror://gnome/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-1.10.tar.bz2;
78 sha256 = "1p3qs51x5327gnk71yq8cvmxc6wgx79sqxfvxcv80cdvgggjfnyv";
89 };
10+
911 buildPhase = "true";
12+
1013 installPhase = "
1114 fontDir=$out/share/fonts/truetype
1215 mkdir -p $fontDir
pkgs/top-level/all-packages.nix+1
@@ -10419,6 +10419,7 @@ let
1041910419 hicolor_icon_theme = callPackage ../data/icons/hicolor-icon-theme { };
1042010420
1042110421 inconsolata = callPackage ../data/fonts/inconsolata {};
10422+ inconsolata-lgc = callPackage ../data/fonts/inconsolata/lgc.nix {};
1042210423
1042310424 ipafont = callPackage ../data/fonts/ipafont {};
1042410425