diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2022-10-12 09:56:48 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2022-10-19 13:01:35 +0200 |
commit | 78be5507bda1ffe2ee294c866f3e01d666651e8d (patch) | |
tree | 87370bca711835c39a6c5a9898fb5ba48299a5c7 /pkgs/data | |
parent | 0ffb5cb0a1043ccfe82031161fc423826adebbe0 (diff) |
sil-padauk: 3.003 → 5.001
Diffstat (limited to 'pkgs/data')
-rw-r--r-- | pkgs/data/fonts/sil-padauk/default.nix | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/pkgs/data/fonts/sil-padauk/default.nix b/pkgs/data/fonts/sil-padauk/default.nix index 1b574e2da2de7..b993ef5ae6b68 100644 --- a/pkgs/data/fonts/sil-padauk/default.nix +++ b/pkgs/data/fonts/sil-padauk/default.nix @@ -1,27 +1,26 @@ { fetchzip, lib }: let - version = "3.003"; + version = "5.001"; in -fetchzip { +fetchzip rec { 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="; + url = "https://software.sil.org/downloads/r/padauk/Padauk-${version}.zip"; + sha256 = "sha256-6H9EDmXr1Ox2fgLw9sG5JrCAllK3tbjvMfLi8DTF1f0="; postFetch = '' - unpackDir="$TMPDIR/unpack" - mkdir "$unpackDir" - cd "$unpackDir" - tar xf "$downloadedFile" --strip-components=1 - mkdir -p $out/share/fonts - cp *.ttf $out/share/fonts + mkdir -p $out/share/fonts/truetype + rm -rf $out/{manifest.json,web/} + mv $out/*.ttf $out/share/fonts/truetype/ + mkdir -p $out/share/doc/${name} + mv $out/*.txt $out/documentation/ $out/share/doc/${name}/ ''; meta = with lib; { - description = "Burmese Unicode 6 TrueType font"; + description = "A 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 lib.maintainers; [ serge ]; + maintainers = with maintainers; [ serge ]; platforms = platforms.all; }; } |