blob: e69e6e02a22f177458d3fd5c888880ee625ce6f1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
{stdenv, fetchFromGitHub, fontforge}:
stdenv.mkDerivation rec {
pname = "inconsolata-lgc";
version = "1.3";
src = fetchFromGitHub {
owner = "MihailJP";
repo = "Inconsolata-LGC";
rev = "8adfef7a7316fcd2e9a5857054c7cdb2babeb35d";
sha256 = "0dqjj3mlc28s8ljnph6l086b4j9r5dly4fldq59crycwys72zzai";
};
nativeBuildInputs = [ fontforge ];
installPhase = ''
find . -name '*.ttf' -exec install -m444 -Dt $out/share/fonts/truetype {} \;
find . -name '*.otf' -exec install -m444 -Dt $out/share/fonts/opentype {} \;
install -m444 -Dt $out/share/doc/${pname}-${version} LICENSE README
'';
meta = with stdenv.lib; {
description = "Fork of Inconsolata font, with proper support of Cyrillic and Greek";
longDescription = ''
Inconsolata is one of the most suitable font for programmers created by Raph
Levien. Since the original Inconsolata does not contain Cyrillic alphabet,
it was slightly inconvenient for not a few programmers from Russia.
Inconsolata LGC is a modified version of Inconsolata with added the Cyrillic
alphabet which directly descends from Inconsolata Hellenic supporting modern
Greek.
Inconsolata LGC is licensed under SIL OFL.
Inconsolata LGC changes:
* Cyrillic glyphs added.
* Italic and Bold font added.
Changes inherited from Inconsolata Hellenic:
* Greek glyphs.
Changes inherited from Inconsolata-dz:
* Straight quotation marks.
'';
# See `License.txt' for details.
license = licenses.ofl;
homepage = "https://github.com/MihailJP/Inconsolata-LGC";
maintainers = with maintainers; [ avnik rht ];
};
}
|