c9eb44eab3
* make font derivations fixed-output where applicable * fix dead links * `stdenv.lib` -> `lib` where `stdenv` is not involved * remove `meta.platforms = [ unix ]` and `meta.platforms = [ linux ]` because the restriction has no sense for data packages
28 lines
861 B
Nix
28 lines
861 B
Nix
{ lib, fetchzip }:
|
|
|
|
let
|
|
version = "1.0.2";
|
|
in fetchzip {
|
|
name = "andagii-${version}";
|
|
|
|
url = http://www.i18nguy.com/unicode/andagii.zip;
|
|
curlOpts = "--user-agent 'Mozilla/5.0'";
|
|
postFetch = ''
|
|
unzip $downloadedFile
|
|
mkdir -p $out/share/fonts/truetype
|
|
cp -v ANDAGII_.TTF $out/share/fonts/truetype/andagii.ttf
|
|
'';
|
|
sha256 = "0j5kf2fmyqgnf5ji6h0h79lq9n9d85hkfrr4ya8hqj4gwvc0smb2";
|
|
|
|
# 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 lib; {
|
|
homepage = http://www.i18nguy.com/unicode/unicode-font.html;
|
|
description = "Unicode Plane 1 Osmanya script font";
|
|
maintainers = with maintainers; [ raskin rycee ];
|
|
license = "unknown";
|
|
platforms = platforms.all;
|
|
};
|
|
}
|