xin/pkgs/kurinto.nix

32 lines
924 B
Nix
Raw Normal View History

2022-11-28 21:36:55 -07:00
{ lib, stdenvNoCC, fetchzip }:
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";
description =
"a large collection of free fonts that include most of the characters in every human language";
license = licenses.ofl;
maintainers = with maintainers; [ qbit ];
platforms = lib.platforms.all;
hydraPlatform = [ ];
};
}