gentium-book: init at 7.000

authored by

Benedikt Fein and committed by
Doron Behar
496731bd 718db763

+53
+53
pkgs/by-name/ge/gentium-book/package.nix
··· 1 + { 2 + lib, 3 + stdenvNoCC, 4 + fetchzip, 5 + }: 6 + 7 + stdenvNoCC.mkDerivation (finalAttrs: { 8 + pname = "gentium-book"; 9 + version = "7.000"; 10 + 11 + src = fetchzip { 12 + url = "http://software.sil.org/downloads/r/gentium/GentiumBook-${finalAttrs.version}.zip"; 13 + hash = "sha256-A/QZX8OYrifaxChC08SNOaspdnSr8PxOtYgFAwUc5WY="; 14 + }; 15 + 16 + installPhase = '' 17 + runHook preInstall 18 + 19 + install -Dm644 *.ttf -t $out/share/fonts/truetype 20 + install -Dm644 FONTLOG.txt README.txt -t $out/share/doc/${finalAttrs.pname}-${finalAttrs.version} 21 + cp -r documentation $out/share/doc/${finalAttrs.pname}-${finalAttrs.version} 22 + 23 + runHook postInstall 24 + ''; 25 + 26 + meta = { 27 + homepage = "https://software.sil.org/gentium/"; 28 + description = "High-quality typeface family for Latin, Cyrillic, and Greek"; 29 + longDescription = '' 30 + Gentium is a typeface family designed to enable the diverse ethnic groups 31 + around the world who use the Latin, Cyrillic and Greek scripts to produce 32 + readable, high-quality publications. It supports a wide range of Latin and 33 + Cyrillic-based alphabets. 34 + 35 + The design is intended to be highly readable, reasonably compact, and 36 + visually attractive. The additional ‘extended’ Latin letters are designed 37 + to naturally harmonize with the traditional 26 ones. Diacritics are 38 + treated with careful thought and attention to their use. Gentium also 39 + supports both polytonic and monotonic Greek. 40 + 41 + This package contains the regular and italic styles for the Gentium Book 42 + font family, along with documentation. 43 + ''; 44 + downloadPage = "https://software.sil.org/gentium/download/"; 45 + maintainers = with lib.maintainers; [ 46 + b-fein 47 + raskin 48 + rycee 49 + ]; 50 + license = lib.licenses.ofl; 51 + platforms = lib.platforms.all; 52 + }; 53 + })