nixos/wyoming/{faster-whisper,piper}: drop download directory (#376447)
[NixPkgs.git] / pkgs / by-name / si / sil-padauk / package.nix
blob71a43985606849436b5a77a8a106c032a7cb73b9
2   lib,
3   stdenvNoCC,
4   fetchzip,
5 }:
7 stdenvNoCC.mkDerivation rec {
8   pname = "sil-padauk";
9   version = "5.100";
11   src = fetchzip {
12     url = "https://software.sil.org/downloads/r/padauk/Padauk-${version}.zip";
13     hash = "sha256-Y4ZcxbPcgF349wDuT352xqaJji+FMfBH6P7WSWOw2iI=";
14   };
16   installPhase = ''
17     runHook preInstall
19     mkdir -p $out/share/fonts/truetype
20     mv *.ttf $out/share/fonts/truetype/
21     mkdir -p $out/share/doc/${pname}-${version}
22     mv *.txt documentation/ $out/share/doc/${pname}-${version}/
24     runHook postInstall
25   '';
27   meta = with lib; {
28     description = "Unicode-based font family with broad support for writing systems that use the Myanmar script";
29     homepage = "https://software.sil.org/padauk";
30     license = licenses.ofl;
31     maintainers = with maintainers; [ serge ];
32     platforms = platforms.all;
33   };