nixpkgs/pkgs/data/fonts/sil-abyssinica/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
735 B
Nix
Raw Normal View History

2022-04-26 01:34:23 +00:00
{ fetchzip, lib }:
let
2022-10-12 07:56:52 +00:00
version = "2.100";
2022-04-26 01:34:23 +00:00
in
2022-10-12 07:56:52 +00:00
fetchzip rec {
2022-04-26 01:34:23 +00:00
name = "sil-abyssinica-${version}";
2022-10-12 07:56:52 +00:00
url = "https://software.sil.org/downloads/r/abyssinica/AbyssinicaSIL-${version}.zip";
sha256 = "sha256-06olbIdSlhJ4hgblzzabqIs57FpsyWIdPDFXb9vK31A=";
2022-04-26 01:34:23 +00:00
postFetch = ''
2022-10-12 07:56:52 +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-04-26 01:34:23 +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-12 07:56:52 +00:00
maintainers = with maintainers; [ serge ];
2022-04-26 01:34:23 +00:00
platforms = platforms.all;
};
}