scheherazade-new: init at 3.000
This commit is contained in:
parent
fa962c1d24
commit
b94a294363
@ -1,11 +1,16 @@
|
|||||||
{ lib, fetchzip }:
|
{ lib, fetchzip, version ? "3.000" }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "2.100";
|
new = lib.versionAtLeast version "3.000";
|
||||||
in fetchzip rec {
|
sha256 = {
|
||||||
name = "scheherazade-${version}";
|
"2.100" = "1g5f5f9gzamkq3kqyf7vbzvl4rdj3wmjf6chdrbxksrm3rnb926z";
|
||||||
|
"3.000" = "12sd2mjqb80ijc73y7p0iw6j3wy9i60a3aar3ywrxz4khpya48jw";
|
||||||
|
}."${version}";
|
||||||
|
|
||||||
url = "http://software.sil.org/downloads/r/scheherazade/Scheherazade-${version}.zip";
|
in fetchzip rec {
|
||||||
|
name = "scheherazade${lib.optionalString new "-new"}-${version}";
|
||||||
|
|
||||||
|
url = "http://software.sil.org/downloads/r/scheherazade/Scheherazade${lib.optionalString new "New"}-${version}.zip";
|
||||||
|
|
||||||
postFetch = ''
|
postFetch = ''
|
||||||
mkdir -p $out/share/{doc,fonts}
|
mkdir -p $out/share/{doc,fonts}
|
||||||
@ -15,16 +20,17 @@ in fetchzip rec {
|
|||||||
unzip -j $downloadedFile \*/documentation/\* -d $out/share/doc/${name}/documentation
|
unzip -j $downloadedFile \*/documentation/\* -d $out/share/doc/${name}/documentation
|
||||||
'';
|
'';
|
||||||
|
|
||||||
sha256 = "1g5f5f9gzamkq3kqyf7vbzvl4rdj3wmjf6chdrbxksrm3rnb926z";
|
inherit sha256;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://software.sil.org/scheherazade/";
|
homepage = "https://software.sil.org/scheherazade/";
|
||||||
description = "A font designed in a similar style to traditional Naskh typefaces";
|
description = "A font designed in a similar style to traditional Naskh typefaces";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Scheherazade, named after the heroine of the classic Arabian Nights tale,
|
|
||||||
is designed in a similar style to traditional typefaces such as Monotype
|
Scheherazade${lib.optionalString new " New"}, named after the heroine of
|
||||||
Naskh, extended to cover the Unicode Arabic repertoire through Unicode
|
the classic Arabian Nights tale, is designed in a similar style to
|
||||||
8.0.
|
traditional typefaces such as Monotype Naskh, extended to cover the
|
||||||
|
Unicode Arabic repertoire through Unicode ${if new then "13.0" else "8.0"}.
|
||||||
|
|
||||||
Scheherazade provides a “simplified” rendering of Arabic script, using
|
Scheherazade provides a “simplified” rendering of Arabic script, using
|
||||||
basic connecting glyphs but not including a wide variety of additional
|
basic connecting glyphs but not including a wide variety of additional
|
||||||
|
@ -19714,7 +19714,9 @@ julia_15 = callPackage ../development/compilers/julia/1.5.nix {
|
|||||||
|
|
||||||
shared_desktop_ontologies = callPackage ../data/misc/shared-desktop-ontologies { };
|
shared_desktop_ontologies = callPackage ../data/misc/shared-desktop-ontologies { };
|
||||||
|
|
||||||
scheherazade = callPackage ../data/fonts/scheherazade { };
|
scheherazade = callPackage ../data/fonts/scheherazade { version = "2.100"; };
|
||||||
|
|
||||||
|
scheherazade-new = callPackage ../data/fonts/scheherazade { };
|
||||||
|
|
||||||
signwriting = callPackage ../data/fonts/signwriting { };
|
signwriting = callPackage ../data/fonts/signwriting { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user