lucasew 4054b5f8c1 andagii: fix license, minor refactoring
Signed-off-by: lucasew <lucas59356@gmail.com>
2024-12-29 22:04:52 -03:00

34 lines
788 B
Nix

{
lib,
stdenvNoCC,
fetchzip,
}:
stdenvNoCC.mkDerivation {
pname = "andagii";
version = "1.0.2";
src = fetchzip {
url = "http://www.i18nguy.com/unicode/andagii.zip";
curlOpts = "--user-agent 'Mozilla/5.0'";
hash = "sha256-U7wC55G8jIvMMyPcEiJQ700A7nkWdgWK1LM0F/wgDCg=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/fonts/truetype
cp -v ANDAGII_.TTF $out/share/fonts/truetype/andagii.ttf
runHook postInstall
'';
meta = {
homepage = "http://www.i18nguy.com/unicode/unicode-font.html";
description = "Unicode Plane 1 Osmanya script font";
maintainers = [ lib.maintainers.raskin ];
license = lib.licenses.unfreeRedistributable; # upstream uses the term copyleft only
platforms = lib.platforms.all;
};
}