2015-06-12 00:17:53 +02:00
|
|
|
{ stdenv, fetchzip }:
|
2010-11-06 10:45:13 +01:00
|
|
|
|
2015-06-12 00:17:53 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "andagii-${version}";
|
|
|
|
version = "1.0.2";
|
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = http://www.i18nguy.com/unicode/andagii.zip;
|
|
|
|
sha256 = "0a0c43y1fd5ksj50axhng7p00kgga0i15p136g68p35wj7kh5g2k";
|
|
|
|
stripRoot = false;
|
2014-02-08 11:10:47 +01:00
|
|
|
curlOpts = "--user-agent 'Mozilla/5.0'";
|
2010-11-06 10:45:13 +01:00
|
|
|
};
|
|
|
|
|
2015-06-12 00:17:53 +02:00
|
|
|
phases = [ "unpackPhase" "installPhase" ];
|
2010-11-06 10:45:13 +01:00
|
|
|
|
2015-06-12 00:17:53 +02:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/fonts/truetype
|
|
|
|
cp -v ANDAGII_.TTF $out/share/fonts/truetype/andagii.ttf
|
|
|
|
'';
|
2010-11-06 10:45:13 +01:00
|
|
|
|
2015-06-12 00:17:53 +02: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; {
|
|
|
|
homepage = http://www.i18nguy.com/unicode/unicode-font.HTML;
|
2010-11-06 10:45:13 +01:00
|
|
|
description = "Unicode Plane 1 Osmanya script font";
|
2015-06-12 00:17:53 +02:00
|
|
|
maintainers = with maintainers; [ raskin rycee ];
|
|
|
|
license = "unknown";
|
|
|
|
platforms = platforms.all;
|
2010-11-06 10:45:13 +01:00
|
|
|
};
|
2015-06-12 00:17:53 +02:00
|
|
|
}
|