2023-01-25 11:34:24 +00:00
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2022-10-26 19:16:05 +00:00
|
|
|
|
2023-01-25 11:34:24 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2022-10-26 19:16:05 +00:00
|
|
|
pname = "ruwudu";
|
|
|
|
version = "2.000";
|
|
|
|
|
2023-01-25 11:34:24 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://software.sil.org/downloads/r/ruwudu/Ruwudu-${version}.zip";
|
|
|
|
hash = "sha256-FP+ZHm1fKlozAAI2PbJ4r4v5OwRxBtYMRLmRwPbqx2I=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2022-10-26 19:16:05 +00:00
|
|
|
|
|
|
|
mkdir -p $out/share/{doc/${pname},fonts/truetype}
|
2023-01-25 11:34:24 +00:00
|
|
|
mv *.ttf $out/share/fonts/truetype/
|
|
|
|
mv *.txt documentation $out/share/doc/${pname}/
|
2022-10-26 19:16:05 +00:00
|
|
|
|
2023-01-25 11:34:24 +00:00
|
|
|
runHook postInstall
|
|
|
|
'';
|
2022-10-26 19:16:05 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|