2023-01-28 05:13:31 +00:00
|
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2011-05-28 19:01:59 +00:00
|
|
|
|
|
2023-01-28 05:13:31 +00:00
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
|
pname = "gentium";
|
2023-05-12 15:02:44 +00:00
|
|
|
|
version = "6.200";
|
2015-06-11 22:17:53 +00:00
|
|
|
|
|
2023-01-28 05:13:31 +00:00
|
|
|
|
src = fetchzip {
|
|
|
|
|
url = "http://software.sil.org/downloads/r/gentium/GentiumPlus-${version}.zip";
|
2023-05-12 15:02:44 +00:00
|
|
|
|
hash = "sha256-gpVOtmF4Kp3y1Rm00c4o3WQEskO7mY1Z5SVaYHI0hzg=";
|
2023-01-28 05:13:31 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
|
runHook preInstall
|
2011-05-28 19:01:59 +00:00
|
|
|
|
|
2023-01-28 05:13:31 +00:00
|
|
|
|
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
|
|
|
|
install -Dm644 FONTLOG.txt README.txt -t $out/share/doc/${pname}-${version}
|
|
|
|
|
cp -r documentation $out/share/doc/${pname}-${version}
|
|
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
|
'';
|
2017-08-11 13:35:52 +00:00
|
|
|
|
|
2019-05-13 01:55:32 +00:00
|
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
|
homepage = "https://software.sil.org/gentium/";
|
2015-06-11 22:17:53 +00:00
|
|
|
|
description = "A high-quality typeface family for Latin, Cyrillic, and Greek";
|
2016-08-03 06:31:56 +00: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 19:42:46 +00:00
|
|
|
|
downloadPage = "https://software.sil.org/gentium/download/";
|
2015-06-11 22:17:53 +00:00
|
|
|
|
maintainers = with maintainers; [ raskin rycee ];
|
|
|
|
|
license = licenses.ofl;
|
|
|
|
|
platforms = platforms.all;
|
2011-05-28 19:01:59 +00:00
|
|
|
|
};
|
2023-01-28 05:13:31 +00:00
|
|
|
|
}
|