nixpkgs/pkgs/data/fonts/sil-padauk/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
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/'
2024-06-09 23:07:45 +02:00

30 lines
843 B
Nix

{ lib, stdenvNoCC, fetchzip }:
stdenvNoCC.mkDerivation rec {
pname = "sil-padauk";
version = "5.001";
src = fetchzip {
url = "https://software.sil.org/downloads/r/padauk/Padauk-${version}.zip";
hash = "sha256-rLzuDUd+idjTN0xQxblXQ9V2rQtJPN2EtWGmTRY1R7U=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/fonts/truetype
mv *.ttf $out/share/fonts/truetype/
mkdir -p $out/share/doc/${pname}-${version}
mv *.txt documentation/ $out/share/doc/${pname}-${version}/
runHook postInstall
'';
meta = with lib; {
description = "Unicode-based font family with broad support for writing systems that use the Myanmar script";
homepage = "https://software.sil.org/padauk";
license = licenses.ofl;
maintainers = with maintainers; [ serge ];
platforms = platforms.all;
};
}