@@ -2,12 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "gentium-${version}";
5− version = "1.504";
5+ version = "5.000";
66
77 src = fetchzip {
8− name = "${name}.zip";
9− url = "http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=GentiumPlus-${version}.zip&filename=${name}.zip";
10− sha256 = "1xdx80dfal0b8rkrp1janybx2hki7algnvkx4hyghgikpjcjkdh7";
8+ url = "http://software.sil.org/downloads/gentium/GentiumPlus-${version}.zip";
9+ sha256 = "0g9sx38wh7f0m16gr64g2xggjwak2q6jw9y4zhrvhmp4aq4xfqm6";
1110 };
1211
1312 phases = [ "unpackPhase" "installPhase" ];
@@ -16,12 +15,28 @@ stdenv.mkDerivation rec {
1615 mkdir -p $out/share/fonts/truetype
1716 mkdir -p $out/share/doc/${name}
1817 cp -v *.ttf $out/share/fonts/truetype/
19− cp -v FONTLOG.txt GENTIUM-FAQ.txt README.txt $out/share/doc/${name}
18+ cp -vr documentation/ FONTLOG.txt GENTIUM-FAQ.txt README.txt $out/share/doc/${name}
2019 '';
2120
2221 meta = with stdenv.lib; {
23− homepage = "http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=Gentium";
22+ homepage = "http://software.sil.org/gentium/";
2423 description = "A high-quality typeface family for Latin, Cyrillic, and Greek";
24+ longDescription = ''
25+ Gentium is a typeface family designed to enable the diverse ethnic groups
26+ around the world who use the Latin, Cyrillic and Greek scripts to produce
27+ readable, high-quality publications. It supports a wide range of Latin and
28+ Cyrillic-based alphabets.
29+
30+ The design is intended to be highly readable, reasonably compact, and
31+ visually attractive. The additional ‘extended’ Latin letters are designed
32+ to naturally harmonize with the traditional 26 ones. Diacritics are
33+ treated with careful thought and attention to their use. Gentium Plus also
34+ supports both polytonic and monotonic Greek.
35+
36+ This package contains the regular and italic styles for the Gentium Plus
37+ font family, along with documentation.
38+ '';
39+ downloadPage = "http://software.sil.org/gentium/download/";
2540 maintainers = with maintainers; [ raskin rycee ];
2641 license = licenses.ofl;
2742 platforms = platforms.all;