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.

24 lines
715 B
Nix
Raw Normal View History

2022-04-26 03:34:23 +02:00
{ fetchzip, lib }:
let
version = "1.500";
in
fetchzip {
name = "sil-abyssinica-${version}";
url = "mirror://debian/pool/main/f/fonts-sil-abyssinica/fonts-sil-abyssinica_${version}.orig.tar.xz";
sha256 = "sha256-fCa88wG2JfHTaHaBkuvoncbcbrh3XNzc8ewS3W+W/fM=";
postFetch = ''
mkdir -p $out/share/fonts
tar xf $downloadedFile --strip-components=1 -C $out/share/fonts AbyssinicaSIL-${version}/AbyssinicaSIL-R.ttf
'';
meta = with lib; {
description = "Unicode font for Ethiopian and Erythrean scripts (Amharic et al.)";
homepage = "https://software.sil.org/abyssinica/";
license = licenses.ofl;
maintainers = with lib.maintainers; [ serge ];
platforms = platforms.all;
};
}