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

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

30 lines
813 B
Nix
Raw Normal View History

2023-01-25 12:34:24 +01:00
{ lib, stdenvNoCC, fetchzip }:
2022-04-26 03:34:23 +02:00
2023-01-25 12:34:24 +01:00
stdenvNoCC.mkDerivation rec {
pname = "sil-abyssinica";
2022-12-09 14:07:38 +01:00
version = "2.200";
2022-04-26 03:34:23 +02:00
2023-01-25 12:34:24 +01:00
src = fetchzip {
url = "https://software.sil.org/downloads/r/abyssinica/AbyssinicaSIL-${version}.zip";
hash = "sha256-IdWMZHm9VoLVDO0//ISujxlXUxe0O6+aEcdP63YRmPg=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/{fonts/truetype,doc/${pname}-${version}}
mv *.ttf $out/share/fonts/truetype/
mv *.txt documentation $out/share/doc/${pname}-${version}/
runHook postInstall
2022-04-26 03:34:23 +02: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 09:56:52 +02:00
maintainers = with maintainers; [ serge ];
2022-04-26 03:34:23 +02:00
platforms = platforms.all;
};
}