diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2021-12-18 14:10:42 +0100 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2021-12-25 18:21:12 +0100 |
commit | 824f6f424c04628e1bce33c423e4a8a9f3e39566 (patch) | |
tree | e19d02c5fc1ed5810e52bdc463a9d47cefe4fcb4 /pkgs/data/fonts/scheherazade | |
parent | dfc501756b09fa40f9eeb4a1c12ccd225ba3e3d8 (diff) |
scheherazade-new: 3.200 → 3.300
Diffstat (limited to 'pkgs/data/fonts/scheherazade')
-rw-r--r-- | pkgs/data/fonts/scheherazade/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/data/fonts/scheherazade/default.nix b/pkgs/data/fonts/scheherazade/default.nix index 3448226c58d9d..e91d108ade8e2 100644 --- a/pkgs/data/fonts/scheherazade/default.nix +++ b/pkgs/data/fonts/scheherazade/default.nix @@ -1,10 +1,10 @@ -{ lib, fetchzip, version ? "3.200" }: +{ lib, fetchzip, version ? "3.300" }: let new = lib.versionAtLeast version "3.000"; sha256 = { "2.100" = "1g5f5f9gzamkq3kqyf7vbzvl4rdj3wmjf6chdrbxksrm3rnb926z"; - "3.200" = "0qvmpsn6ja3g2hlvq0vb9pjsyk6ibna7s3w3n6q7lnhk0rhjg8bv"; + "3.300" = "1bja1ma1mnna0qlk3dis31cvq5z1kgcqj7wjp8ml03zc5mpa2wb2"; }."${version}"; in fetchzip rec { @@ -16,8 +16,9 @@ in fetchzip rec { mkdir -p $out/share/{doc,fonts} unzip -l $downloadedFile unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype + unzip $downloadedFile \*/documentation/\* -d $out/share/doc/ + mv $out/share/doc/* $out/share/doc/${name} unzip -j $downloadedFile \*/FONTLOG.txt \*/README.txt -d $out/share/doc/${name} - unzip -j $downloadedFile \*/documentation/\* -d $out/share/doc/${name}/documentation ''; inherit sha256; @@ -30,7 +31,7 @@ in fetchzip rec { Scheherazade${lib.optionalString new " New"}, 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 ${if new then "13.0" else "8.0"}. + Unicode Arabic repertoire through Unicode ${if new then "14.0" else "8.0"}. Scheherazade provides a “simplified” rendering of Arabic script, using basic connecting glyphs but not including a wide variety of additional |