ezra-sil: init at 2.51

This commit is contained in:
Kierán Meinhardt 2022-04-14 22:07:43 +02:00 committed by ehmry
parent 5b856693c1
commit 8679b216a6
2 changed files with 28 additions and 0 deletions

View file

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

View file

@ -24162,6 +24162,8 @@ with pkgs;
execline-man-pages = skawarePackages.execline-man-pages;
ezra-sil = callPackage ../data/fonts/ezra-sil { };
fantasque-sans-mono = callPackage ../data/fonts/fantasque-sans-mono {};
fira = callPackage ../data/fonts/fira { };