2019-05-13 03:55:32 +02:00
|
|
|
|
{ lib, fetchzip }:
|
2011-05-28 21:01:59 +02:00
|
|
|
|
|
2017-08-11 15:35:52 +02:00
|
|
|
|
let
|
2021-07-04 18:25:58 +02:00
|
|
|
|
version = "6.001";
|
2017-08-11 15:35:52 +02:00
|
|
|
|
in fetchzip rec {
|
|
|
|
|
name = "gentium-${version}";
|
2015-06-12 00:17:53 +02:00
|
|
|
|
|
2017-08-11 15:35:52 +02:00
|
|
|
|
url = "http://software.sil.org/downloads/r/gentium/GentiumPlus-${version}.zip";
|
2011-05-28 21:01:59 +02:00
|
|
|
|
|
2017-08-11 15:35:52 +02:00
|
|
|
|
postFetch = ''
|
|
|
|
|
mkdir -p $out/share/{doc,fonts}
|
|
|
|
|
unzip -l $downloadedFile
|
2021-07-01 10:48:39 +02:00
|
|
|
|
unzip -j $downloadedFile \*.ttf \
|
|
|
|
|
-d $out/share/fonts/truetype
|
|
|
|
|
unzip -j $downloadedFile \
|
|
|
|
|
\*/FONTLOG.txt \
|
|
|
|
|
\*/README.txt \
|
|
|
|
|
-d $out/share/doc/${name}
|
|
|
|
|
unzip -j $downloadedFile \
|
|
|
|
|
\*/documentation/\*.html \
|
|
|
|
|
\*/documentation/\*.txt \
|
|
|
|
|
-x \*/documentation/source/\* \
|
|
|
|
|
-d $out/share/doc/${name}/documentation
|
2015-06-12 00:17:53 +02:00
|
|
|
|
'';
|
2011-05-28 21:01:59 +02:00
|
|
|
|
|
2021-07-04 18:25:58 +02:00
|
|
|
|
sha256 = "sha256-DeoMTJ2nhTBtNQYG55lIMvnulqpk/KTeIqgpb5eiTIA=";
|
2017-08-11 15:35:52 +02:00
|
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
|
homepage = "https://software.sil.org/gentium/";
|
2015-06-12 00:17:53 +02:00
|
|
|
|
description = "A high-quality typeface family for Latin, Cyrillic, and Greek";
|
2016-08-03 08:31:56 +02:00
|
|
|
|
longDescription = ''
|
|
|
|
|
Gentium is a typeface family designed to enable the diverse ethnic groups
|
|
|
|
|
around the world who use the Latin, Cyrillic and Greek scripts to produce
|
|
|
|
|
readable, high-quality publications. It supports a wide range of Latin and
|
|
|
|
|
Cyrillic-based alphabets.
|
|
|
|
|
|
|
|
|
|
The design is intended to be highly readable, reasonably compact, and
|
|
|
|
|
visually attractive. The additional ‘extended’ Latin letters are designed
|
|
|
|
|
to naturally harmonize with the traditional 26 ones. Diacritics are
|
|
|
|
|
treated with careful thought and attention to their use. Gentium Plus also
|
|
|
|
|
supports both polytonic and monotonic Greek.
|
|
|
|
|
|
|
|
|
|
This package contains the regular and italic styles for the Gentium Plus
|
|
|
|
|
font family, along with documentation.
|
|
|
|
|
'';
|
2018-01-05 20:42:46 +01:00
|
|
|
|
downloadPage = "https://software.sil.org/gentium/download/";
|
2015-06-12 00:17:53 +02:00
|
|
|
|
maintainers = with maintainers; [ raskin rycee ];
|
|
|
|
|
license = licenses.ofl;
|
|
|
|
|
platforms = platforms.all;
|
2011-05-28 21:01:59 +02:00
|
|
|
|
};
|
2015-06-12 00:17:53 +02:00
|
|
|
|
}
|