xin/pkgs/kurinto.nix

34 lines
921 B
Nix
Raw Normal View History

2023-07-11 09:12:50 -06:00
{
lib,
stdenvNoCC,
fetchzip,
}:
2022-11-28 21:36:55 -07:00
stdenvNoCC.mkDerivation rec {
pname = "kurinto";
version = "2.197";
src = fetchzip {
2023-01-05 16:27:19 -07:00
# Upstream re-rolled the same file name with changes so I am hosting on my site.
#url = "https://www.kurinto.com/zip/Kurinto_v${version}_Full.zip";
url = "https://deftly.net/Kurinto_v${version}_Full.zip";
2022-11-28 21:36:55 -07:00
stripRoot = true;
2023-01-05 16:27:19 -07:00
sha256 = "sha256-0tr2PyznTnipTVN6ydOxgvmCXj1WA7F696FtDmPBd+A=";
2022-11-28 21:36:55 -07:00
};
installPhase = ''
mkdir -p $out/share/fonts/truetype
2023-01-05 16:27:19 -07:00
find . -name \*.ttf -exec cp {} $out/share/fonts/truetype/ \;
2022-11-28 21:36:55 -07:00
'';
dontBuild = true;
meta = with lib; {
homepage = "https://www.kurinto.com/index.htm";
2023-07-11 09:12:50 -06:00
description = "a large collection of free fonts that include most of the characters in every human language";
2022-11-28 21:36:55 -07:00
license = licenses.ofl;
2023-07-11 09:12:50 -06:00
maintainers = with maintainers; [qbit];
2022-11-28 21:36:55 -07:00
platforms = lib.platforms.all;
2023-07-11 09:12:50 -06:00
hydraPlatform = [];
2022-11-28 21:36:55 -07:00
};
}