mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
37 lines
807 B
Nix
37 lines
807 B
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
fetchzip,
|
|
installFonts,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
|
pname = "alkalami";
|
|
version = "3.000";
|
|
|
|
src = fetchzip {
|
|
url = "https://software.sil.org/downloads/r/alkalami/Alkalami-${finalAttrs.version}.zip";
|
|
hash = "sha256-ra664VbUKc8XpULCWhLMVnc1mW4pqZvbvwuBvRQRhcY=";
|
|
};
|
|
|
|
outputs = [
|
|
"out"
|
|
"webfont"
|
|
];
|
|
|
|
nativeBuildInputs = [ installFonts ];
|
|
|
|
postInstall = ''
|
|
mkdir -p $out/share/doc/alkalami
|
|
mv *.txt documentation $out/share/doc/alkalami
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://software.sil.org/alkalami/";
|
|
description = "Font for Arabic-based writing systems in the Kano region of Nigeria and in Niger";
|
|
license = lib.licenses.ofl;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
})
|