Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 28 lines 820 B view raw
1{ lib, stdenvNoCC, fetchzip }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "gentium-book-basic"; 5 version = "1.102"; 6 7 src = fetchzip { 8 url = "http://software.sil.org/downloads/r/gentium/GentiumBasic_${lib.versions.major version}${lib.versions.minor version}.zip"; 9 hash = "sha256-oCmpl95MJRfCV25cg/4cf8AwQWnoymXasSss1ziOPoE="; 10 }; 11 12 installPhase = '' 13 runHook preInstall 14 15 install -Dm644 *.ttf -t $out/share/fonts/truetype 16 install -Dm644 FONTLOG.txt GENTIUM-FAQ.txt -t $out/share/doc/${pname}-${version} 17 18 runHook postInstall 19 ''; 20 21 meta = with lib; { 22 homepage = "https://software.sil.org/gentium/"; 23 description = "High-quality typeface family for Latin, Cyrillic, and Greek"; 24 maintainers = [ ]; 25 license = licenses.ofl; 26 platforms = platforms.all; 27 }; 28}