2015-06-11 23:17:53 +01:00
|
|
|
{ stdenv, fetchzip }:
|
2010-11-06 09:45:13 +00:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
let
|
2015-06-11 23:17:53 +01:00
|
|
|
version = "1.0.2";
|
2017-08-10 20:43:49 +01:00
|
|
|
in fetchzip {
|
|
|
|
name = "andagii-${version}";
|
2015-06-11 23:17:53 +01:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
url = http://www.i18nguy.com/unicode/andagii.zip;
|
|
|
|
curlOpts = "--user-agent 'Mozilla/5.0'";
|
|
|
|
postFetch = ''
|
|
|
|
unzip $downloadedFile
|
2015-06-11 23:17:53 +01:00
|
|
|
mkdir -p $out/share/fonts/truetype
|
|
|
|
cp -v ANDAGII_.TTF $out/share/fonts/truetype/andagii.ttf
|
|
|
|
'';
|
2017-08-10 20:43:49 +01:00
|
|
|
sha256 = "0j5kf2fmyqgnf5ji6h0h79lq9n9d85hkfrr4ya8hqj4gwvc0smb2";
|
2010-11-06 09:45:13 +00:00
|
|
|
|
2015-06-11 23:17:53 +01:00
|
|
|
# There are multiple claims that the font is GPL, so I include the
|
|
|
|
# package; but I cannot find the original source, so use it on your
|
|
|
|
# own risk Debian claims it is GPL - good enough for me.
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-17 22:58:43 +01:00
|
|
|
homepage = http://www.i18nguy.com/unicode/unicode-font.html;
|
2010-11-06 09:45:13 +00:00
|
|
|
description = "Unicode Plane 1 Osmanya script font";
|
2015-06-11 23:17:53 +01:00
|
|
|
maintainers = with maintainers; [ raskin rycee ];
|
|
|
|
license = "unknown";
|
|
|
|
platforms = platforms.all;
|
2010-11-06 09:45:13 +00:00
|
|
|
};
|
2015-06-11 23:17:53 +01:00
|
|
|
}
|