···1+{ stdenv, fetchzip }:
2+3+let
4+ version = "2.100";
5+in fetchzip rec {
6+ name = "scheherazade-${version}";
7+8+ url = "http://software.sil.org/downloads/r/scheherazade/Scheherazade-${version}.zip";
9+10+ postFetch = ''
11+ mkdir -p $out/share/{doc,fonts}
12+ unzip -l $downloadedFile
13+ unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
14+ unzip -j $downloadedFile \*/FONTLOG.txt \*/README.txt -d $out/share/doc/${name}
15+ unzip -j $downloadedFile \*/documentation/\* -d $out/share/doc/${name}/documentation
16+ '';
17+18+ sha256 = "1g5f5f9gzamkq3kqyf7vbzvl4rdj3wmjf6chdrbxksrm3rnb926z";
19+20+ meta = with stdenv.lib; {
21+ homepage = https://software.sil.org/scheherazade/;
22+ description = "A font designed in a similar style to traditional Naskh typefaces";
23+ longDescription = ''
24+ Scheherazade, named after the heroine of the classic Arabian Nights tale,
25+ is designed in a similar style to traditional typefaces such as Monotype
26+ Naskh, extended to cover the Unicode Arabic repertoire through Unicode
27+ 8.0.
28+29+ Scheherazade provides a “simplified” rendering of Arabic script, using
30+ basic connecting glyphs but not including a wide variety of additional
31+ ligatures or contextual alternates (only the required lam-alef
32+ ligatures). This simplified style is often preferred for clarity,
33+ especially in non-Arabic languages, but may not be considered appropriate
34+ in situations where a more elaborate style of calligraphy is preferred.
35+36+ This package contains the regular and bold styles for the Scheherazade
37+ font family, along with documentation.
38+ '';
39+ downloadPage = "https://software.sil.org/scheherazade/download/";
40+ license = licenses.ofl;
41+ platforms = platforms.all;
42+ };
43+}