depot/third_party/nixpkgs/pkgs/data/fonts/alkalami/default.nix
Default email 92b3d6365d Project import generated by Copybara.
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
2022-10-30 16:09:59 +01:00

25 lines
736 B
Nix

{ lib, fetchzip }:
fetchzip rec {
pname = "alkalami";
version = "2.000";
url = "https://software.sil.org/downloads/r/alkalami/Alkalami-${version}.zip";
postFetch = ''
rm -rf $out/web $out/manifest.json
mkdir -p $out/share/{doc/${pname},fonts/truetype}
mv $out/*.ttf $out/share/fonts/truetype/
mv $out/*.txt $out/documentation $out/share/doc/${pname}/
'';
sha256 = "sha256-GjX3YOItLKSMlRjUbBgGp2D7QS/pOJQYuQJzW+iqBNo=";
meta = with lib; {
homepage = "https://software.sil.org/alkalami/";
description = "A font for Arabic-based writing systems in the Kano region of Nigeria and in Niger";
license = licenses.ofl;
maintainers = [ maintainers.vbgl ];
platforms = platforms.all;
};
}