2019-05-13 03:55:32 +02:00
|
|
|
{ lib, fetchzip }:
|
2018-04-04 04:18:23 +02:00
|
|
|
|
|
|
|
let
|
|
|
|
version = "2.100";
|
|
|
|
in fetchzip rec {
|
|
|
|
name = "scheherazade-${version}";
|
|
|
|
|
|
|
|
url = "http://software.sil.org/downloads/r/scheherazade/Scheherazade-${version}.zip";
|
|
|
|
|
|
|
|
postFetch = ''
|
|
|
|
mkdir -p $out/share/{doc,fonts}
|
|
|
|
unzip -l $downloadedFile
|
|
|
|
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
|
|
|
unzip -j $downloadedFile \*/FONTLOG.txt \*/README.txt -d $out/share/doc/${name}
|
|
|
|
unzip -j $downloadedFile \*/documentation/\* -d $out/share/doc/${name}/documentation
|
|
|
|
'';
|
|
|
|
|
|
|
|
sha256 = "1g5f5f9gzamkq3kqyf7vbzvl4rdj3wmjf6chdrbxksrm3rnb926z";
|
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://software.sil.org/scheherazade/";
|
2018-04-04 04:18:23 +02:00
|
|
|
description = "A font designed in a similar style to traditional Naskh typefaces";
|
|
|
|
longDescription = ''
|
|
|
|
Scheherazade, named after the heroine of the classic Arabian Nights tale,
|
|
|
|
is designed in a similar style to traditional typefaces such as Monotype
|
|
|
|
Naskh, extended to cover the Unicode Arabic repertoire through Unicode
|
|
|
|
8.0.
|
|
|
|
|
|
|
|
Scheherazade provides a “simplified” rendering of Arabic script, using
|
|
|
|
basic connecting glyphs but not including a wide variety of additional
|
|
|
|
ligatures or contextual alternates (only the required lam-alef
|
|
|
|
ligatures). This simplified style is often preferred for clarity,
|
|
|
|
especially in non-Arabic languages, but may not be considered appropriate
|
|
|
|
in situations where a more elaborate style of calligraphy is preferred.
|
|
|
|
|
|
|
|
This package contains the regular and bold styles for the Scheherazade
|
|
|
|
font family, along with documentation.
|
|
|
|
'';
|
|
|
|
downloadPage = "https://software.sil.org/scheherazade/download/";
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|