diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-05-06 23:18:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-06 23:18:27 +0200 |
commit | d3c46f1392e95205f602380d7dc30f1d20377f49 (patch) | |
tree | 4e2c4823b74e498b7ae7064d5fcf0f31d64ab84a /pkgs/data | |
parent | c547d11572af331b9883361d6108c0f1161a0900 (diff) | |
parent | 41876b4f4622e9d91f4af698465bb73f77ca11e0 (diff) |
Merge pull request #170370 from serge-belov/sb-nixpkgs-padauk
Add SIL Padauk, a Burmese Unicode TrueType font
Diffstat (limited to 'pkgs/data')
-rw-r--r-- | pkgs/data/fonts/sil-padauk/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/data/fonts/sil-padauk/default.nix b/pkgs/data/fonts/sil-padauk/default.nix new file mode 100644 index 0000000000000..1b574e2da2de7 --- /dev/null +++ b/pkgs/data/fonts/sil-padauk/default.nix @@ -0,0 +1,27 @@ +{ fetchzip, lib }: + +let + version = "3.003"; +in +fetchzip { + name = "sil-padauk-${version}"; + url = "mirror://debian/pool/main/f/fonts-sil-padauk/fonts-sil-padauk_${version}.orig.tar.xz"; + sha256 = "sha256-oK+EufbvsqXunTgcWj+DiNdfpRl+VPO60Wc9KYjZv5A="; + + postFetch = '' + unpackDir="$TMPDIR/unpack" + mkdir "$unpackDir" + cd "$unpackDir" + tar xf "$downloadedFile" --strip-components=1 + mkdir -p $out/share/fonts + cp *.ttf $out/share/fonts + ''; + + meta = with lib; { + description = "Burmese Unicode 6 TrueType font"; + homepage = "https://software.sil.org/padauk"; + license = licenses.ofl; + maintainers = with lib.maintainers; [ serge ]; + platforms = platforms.all; + }; +} |