Files
nixpkgs/pkgs/by-name/cn/cns11643-kai/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

34 lines
741 B
Nix

{
lib,
stdenvNoCC,
fetchFromGitHub,
}:
stdenvNoCC.mkDerivation rec {
pname = "cns11643-kai";
version = "0-unstable-2025-01-13";
src = fetchFromGitHub {
owner = "rypervenche";
repo = "cns11643-fonts";
rev = "refs/tags/${version}";
hash = "sha256-A/4iwNvyzOYEpBzxKeq1xM/6aU6EOCATAr0lQlyckKQ=";
};
installPhase = ''
runHook preInstall
install -Dm644 TW-Kai*.ttf -t $out/share/fonts/truetype/
runHook postInstall
'';
meta = {
description = "Chinese TrueType Kai font by Ministry of Education of Taiwan government";
homepage = "https://www.cns11643.gov.tw/";
license = lib.licenses.ofl;
maintainers = [ lib.maintainers.rypervenche ];
platforms = lib.platforms.all;
};
}