mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
30 lines
784 B
Nix
30 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;
|
|
};
|
|
}
|