diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2022-10-26 21:16:05 +0200 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2022-10-28 11:32:06 +0200 |
commit | b3259b42657a80efe065ce95f097d32cd36dd93d (patch) | |
tree | c56dc032057e53e215fead708195c26538646656 | |
parent | 2f64eefcdb42cd40bcdeb92bbff6024c1e3d3f81 (diff) |
ruwudu: init at 2.000
-rw-r--r-- | pkgs/data/fonts/ruwudu/default.nix | 25 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/data/fonts/ruwudu/default.nix b/pkgs/data/fonts/ruwudu/default.nix new file mode 100644 index 0000000000000..2002f4b672031 --- /dev/null +++ b/pkgs/data/fonts/ruwudu/default.nix @@ -0,0 +1,25 @@ +{ lib, fetchzip }: + +fetchzip rec { + pname = "ruwudu"; + version = "2.000"; + + url = "https://software.sil.org/downloads/r/ruwudu/Ruwudu-${version}.zip"; + + postFetch = '' + rm -rf $out/web $out/manifest.json + mkdir -p $out/share/{doc/${pname},fonts/truetype} + mv $out/*.ttf $out/share/fonts/truetype/ + mv $out/*.txt $out/documentation $out/share/doc/${pname}/ + ''; + + sha256 = "sha256-JCvVPbAFBWHL2eEnEUSgdTZ+Vkw3wkS3aS85xQZKNQs="; + + meta = with lib; { + homepage = "https://software.sil.org/ruwudu/"; + description = "Arabic script font for a style of writing used in Niger, West Africa"; + license = licenses.ofl; + maintainers = [ maintainers.vbgl ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5d7136bc411da..23a9a097fd7e8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26625,6 +26625,8 @@ with pkgs; route159 = callPackage ../data/fonts/route159 { }; + ruwudu = callPackage ../data/fonts/ruwudu { }; + sampradaya = callPackage ../data/fonts/sampradaya { }; sarasa-gothic = callPackage ../data/fonts/sarasa-gothic { }; |