diff options
author | KierĂ¡n Meinhardt <kmein@posteo.de> | 2022-04-14 22:07:43 +0200 |
---|---|---|
committer | ehmry <ehmry@posteo.net> | 2022-04-29 09:14:15 -0500 |
commit | 8679b216a69e1414c306d29f19a860e787de1d93 (patch) | |
tree | c2cb896ed3e21486a5220d16cc973ca8dd1b6b44 /pkgs/data/fonts | |
parent | 5b856693c1738227c6ef52aacec6e3359ad511c3 (diff) |
ezra-sil: init at 2.51
Diffstat (limited to 'pkgs/data/fonts')
-rw-r--r-- | pkgs/data/fonts/ezra-sil/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/data/fonts/ezra-sil/default.nix b/pkgs/data/fonts/ezra-sil/default.nix new file mode 100644 index 0000000000000..8489ab03562b1 --- /dev/null +++ b/pkgs/data/fonts/ezra-sil/default.nix @@ -0,0 +1,26 @@ +{ lib, fetchzip }: + +let + version = "2.51"; +in + fetchzip rec { + name = "ezra-sil-${version}"; + + url = "https://software.sil.org/downloads/r/ezra/EzraSIL-${version}.zip"; + + postFetch = '' + mkdir -p $out/share/{doc,fonts} + unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype + unzip -j $downloadedFile \*OFL-FAQ.txt \*README.txt \*FONTLOG.txt -d "$out/share/doc/${name}" + ''; + + sha256 = "sha256-1LGw/RPFeNtEvcBWFWZf8+dABvWye2RfZ/jt8rwQewM="; + + meta = with lib; { + homepage = "https://software.sil.org/ezra"; + description = "Typeface fashioned after the square letter forms of the typography of the Biblia Hebraica Stuttgartensia (BHS)"; + license = licenses.ofl; + platforms = platforms.all; + maintainers = [ maintainers.kmein ]; + }; + } |