diff options
author | Serge Belov <sb@canva.com> | 2022-04-26 11:34:23 +1000 |
---|---|---|
committer | Serge Belov <sb@canva.com> | 2022-05-11 12:39:33 +1200 |
commit | d09ee716bfbf7241298e7bf65a1c1b5edc14340f (patch) | |
tree | cf4cd1b34e7b05e07f69c6528cf2be763ce4626e /pkgs/data/fonts | |
parent | 7c08048c9f2eaeef357b625f1675d157b42744da (diff) |
sil-abyssinica: init at 1.500
Diffstat (limited to 'pkgs/data/fonts')
-rw-r--r-- | pkgs/data/fonts/sil-abyssinica/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/data/fonts/sil-abyssinica/default.nix b/pkgs/data/fonts/sil-abyssinica/default.nix new file mode 100644 index 0000000000000..c884b5567dd72 --- /dev/null +++ b/pkgs/data/fonts/sil-abyssinica/default.nix @@ -0,0 +1,23 @@ +{ fetchzip, lib }: + +let + version = "1.500"; +in +fetchzip { + name = "sil-abyssinica-${version}"; + url = "mirror://debian/pool/main/f/fonts-sil-abyssinica/fonts-sil-abyssinica_${version}.orig.tar.xz"; + sha256 = "sha256-fCa88wG2JfHTaHaBkuvoncbcbrh3XNzc8ewS3W+W/fM="; + + postFetch = '' + mkdir -p $out/share/fonts + tar xf $downloadedFile --strip-components=1 -C $out/share/fonts AbyssinicaSIL-${version}/AbyssinicaSIL-R.ttf + ''; + + meta = with lib; { + description = "Unicode font for Ethiopian and Erythrean scripts (Amharic et al.)"; + homepage = "https://software.sil.org/abyssinica/"; + license = licenses.ofl; + maintainers = with lib.maintainers; [ serge ]; + platforms = platforms.all; + }; +} |