amiri: init at 0.111

Amiri is a classical Arabic typeface in Naskh style for typesetting books and
other running text.

Homepage: https://www.amirifont.org/
This commit is contained in:
Vincent Laporte 2019-06-26 05:36:56 +00:00
parent 4259498fe6
commit 85109b92cd
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F
2 changed files with 29 additions and 0 deletions

@ -0,0 +1,27 @@
{ lib, fetchzip }:
let
version = "0.111";
in fetchzip rec {
name = "Amiri-${version}";
url = "https://github.com/alif-type/amiri/releases/download/${version}/${name}.zip";
sha256 = "1w3a5na4mazspwy8j2hvpjha10sgd287kamm51p49jcr90cvwbdr";
postFetch = ''
unzip $downloadedFile
install -m444 -Dt $out/share/fonts/truetype ${name}/*.ttf
install -m444 -Dt $out/share/doc/${name} ${name}/{*.txt,*.pdf}
'';
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;
};
}

@ -16145,6 +16145,8 @@ in
aileron = callPackage ../data/fonts/aileron { };
amiri = callPackage ../data/fonts/amiri { };
andagii = callPackage ../data/fonts/andagii { };
andika = callPackage ../data/fonts/andika { };