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