diff --git a/pkgs/data/fonts/ruwudu/default.nix b/pkgs/data/fonts/ruwudu/default.nix new file mode 100644 index 000000000000..2002f4b67203 --- /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 5d7136bc411d..23a9a097fd7e 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 { };