a66bca1520
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
28 lines
686 B
Nix
28 lines
686 B
Nix
{ lib, fetchzip }:
|
|
|
|
let
|
|
version = "1.000";
|
|
|
|
in fetchzip rec {
|
|
name = "Amiri-${version}";
|
|
|
|
url = "https://github.com/alif-type/amiri/releases/download/${version}/${name}.zip";
|
|
|
|
sha256 = "sha256-hG6m/zsGoGF5/xhHz9EHVL9Sg9dlQqfXpQ/lqNyI1vU=";
|
|
|
|
postFetch = ''
|
|
mkdir -p $out/share/fonts/truetype
|
|
mv $out/*.ttf $out/share/fonts/truetype/
|
|
mkdir -p $out/share/doc/${name}
|
|
mv $out/{*.html,*.txt,*.md} $out/share/doc/${name}/
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A classical Arabic typeface in Naskh style";
|
|
homepage = "https://www.amirifont.org/";
|
|
license = licenses.ofl;
|
|
maintainers = [ maintainers.vbgl ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|
|
|