2022-05-18 14:49:53 +00:00
|
|
|
{ fetchzip, lib }:
|
|
|
|
|
|
|
|
let
|
2022-12-28 21:21:41 +00:00
|
|
|
version = "2.200";
|
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";
|
2022-12-28 21:21:41 +00:00
|
|
|
sha256 = "sha256-Kvswqzw8remcu36QaVjeyk03cR4wW5BKQMDihiaxJoE=";
|
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;
|
|
|
|
};
|
|
|
|
}
|