depot/third_party/nixpkgs/pkgs/data/fonts/andagii/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

32 lines
927 B
Nix

{ lib, stdenvNoCC, fetchzip }:
stdenvNoCC.mkDerivation rec {
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
'';
# 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 ];
license = "unknown";
platforms = platforms.all;
};
}