nixpkgs/pkgs/by-name/si/sil-padauk/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
843 B
Nix
Raw Normal View History

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