git.iko.soy/typeable/nixpkgs
on master help sign in
inconsolata-lgc: init at 2015-04-18

Add Inconsolata-LGC, fork of Inconsolata font with improved Cyrillic and Greek support.

commit3973f9f2fe8b3b5d506cddc4a9dafe8cc1155b01 authorAlexander V. Nikolaev <avn@daemon.hole.ru> dateMon 21 Sep 2015, 12:25 (11 years ago) parentd9b4d81
2 files changed+60
pkgs/data/fonts/inconsolata/lgc.nix+59 pkgs/top-level/all-packages.nix+1
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/top-level/all-packages.nix+1
@@ -10400,6 +10400,7 @@ let
1040010400 hicolor_icon_theme = callPackage ../data/icons/hicolor-icon-theme { };
1040110401
1040210402 inconsolata = callPackage ../data/fonts/inconsolata {};
10403+ inconsolata-lgc = callPackage ../data/fonts/inconsolata/lgc.nix {};
1040310404
1040410405 ipafont = callPackage ../data/fonts/ipafont {};
1040510406