0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

cns11643-kai: init at 0-unstable-2025-01-13 (#363429)

This commit is contained in:
Arne Keller 2025-03-22 23:23:27 +01:00 committed by GitHub
commit 2c3dbb1288
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 40 additions and 0 deletions

View file

@ -21006,6 +21006,13 @@
githubId = 7309170;
name = "Ryota Kameoka";
};
rypervenche = {
email = "git@ryper.org";
github = "rypervenche";
githubId = 1411504;
name = "rypervenche";
keys = [ { fingerprint = "1198 7A9F 03AE 47F0 4919 E334 6A41 2C4A ECE1 66EF"; } ];
};
rytone = {
email = "max@ryt.one";
github = "rastertail";

View file

@ -0,0 +1,33 @@
{
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;
};
}