2022-05-18 14:49:53 +00:00
|
|
|
{ fetchzip, lib }:
|
|
|
|
|
|
|
|
let
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "2.100";
|
2022-05-18 14:49:53 +00:00
|
|
|
in
|
2022-10-21 18:38:19 +00:00
|
|
|
fetchzip rec {
|
2022-05-18 14:49:53 +00:00
|
|
|
name = "sil-abyssinica-${version}";
|
2022-10-21 18:38:19 +00:00
|
|
|
url = "https://software.sil.org/downloads/r/abyssinica/AbyssinicaSIL-${version}.zip";
|
|
|
|
sha256 = "sha256-06olbIdSlhJ4hgblzzabqIs57FpsyWIdPDFXb9vK31A=";
|
2022-05-18 14:49:53 +00:00
|
|
|
|
|
|
|
postFetch = ''
|
2022-10-21 18:38:19 +00:00
|
|
|
rm -rf $out/web
|
|
|
|
mkdir -p $out/share/{fonts/truetype,doc/${name}}
|
|
|
|
mv $out/*.ttf $out/share/fonts/truetype/
|
|
|
|
mv $out/*.txt $out/documentation $out/share/doc/${name}/
|
2022-05-18 14:49:53 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Unicode font for Ethiopian and Erythrean scripts (Amharic et al.)";
|
|
|
|
homepage = "https://software.sil.org/abyssinica/";
|
|
|
|
license = licenses.ofl;
|
2022-10-21 18:38:19 +00:00
|
|
|
maintainers = with maintainers; [ serge ];
|
2022-05-18 14:49:53 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|