depot/third_party/nixpkgs/pkgs/data/fonts/alkalami/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

29 lines
784 B
Nix

{ lib, stdenvNoCC, fetchzip }:
stdenvNoCC.mkDerivation rec {
pname = "alkalami";
version = "3.000";
src = fetchzip {
url = "https://software.sil.org/downloads/r/alkalami/Alkalami-${version}.zip";
hash = "sha256-ra664VbUKc8XpULCWhLMVnc1mW4pqZvbvwuBvRQRhcY=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/{doc/${pname},fonts/truetype}
mv *.ttf $out/share/fonts/truetype/
mv *.txt documentation $out/share/doc/${pname}/
runHook postInstall
'';
meta = with lib; {
homepage = "https://software.sil.org/alkalami/";
description = "Font for Arabic-based writing systems in the Kano region of Nigeria and in Niger";
license = licenses.ofl;
maintainers = [ maintainers.vbgl ];
platforms = platforms.all;
};
}