3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #170370 from serge-belov/sb-nixpkgs-padauk

Add SIL Padauk, a Burmese Unicode TrueType font
This commit is contained in:
Sandro 2022-05-06 23:18:27 +02:00 committed by GitHub
commit d3c46f1392
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View file

@ -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;
};
}

View file

@ -24756,6 +24756,8 @@ with pkgs;
sierra-gtk-theme = callPackage ../data/themes/sierra { };
sil-padauk = callPackage ../data/fonts/sil-padauk { };
snap7 = callPackage ../development/libraries/snap7 {};
snowblind = callPackage ../data/themes/snowblind { };