summary refs log tree commit diff
path: root/pkgs/data/fonts/ruwudu/default.nix
blob: 2002f4b6720317c1d9ea2aa49b78c715283b95f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
  };
}