nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 29 lines 786 B view raw
1{ lib, stdenvNoCC, fetchzip }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "alkalami"; 5 version = "3.000"; 6 7 src = fetchzip { 8 url = "https://software.sil.org/downloads/r/alkalami/Alkalami-${version}.zip"; 9 hash = "sha256-ra664VbUKc8XpULCWhLMVnc1mW4pqZvbvwuBvRQRhcY="; 10 }; 11 12 installPhase = '' 13 runHook preInstall 14 15 mkdir -p $out/share/{doc/${pname},fonts/truetype} 16 mv *.ttf $out/share/fonts/truetype/ 17 mv *.txt documentation $out/share/doc/${pname}/ 18 19 runHook postInstall 20 ''; 21 22 meta = with lib; { 23 homepage = "https://software.sil.org/alkalami/"; 24 description = "A font for Arabic-based writing systems in the Kano region of Nigeria and in Niger"; 25 license = licenses.ofl; 26 maintainers = [ maintainers.vbgl ]; 27 platforms = platforms.all; 28 }; 29}