Skip to content

Commit ccbe445

Browse files
committedMar 20, 2025
cns11643-kai: init at 0-unstable-2025-01-13
1 parent b91e74f commit ccbe445

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
 
+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
lib,
3+
stdenvNoCC,
4+
}:
5+
6+
stdenvNoCC.mkDerivation rec {
7+
pname = "cns11643-kai";
8+
version = "0-unstable-2025-01-13";
9+
10+
src = builtins.fetchGit {
11+
url = "https://github.com/rypervenche/cns11643-fonts.git";
12+
ref = "refs/tags/${version}";
13+
rev = "3e204f70f2806615a47aa7b058716afef34e359b";
14+
};
15+
16+
installPhase = ''
17+
runHook preInstall
18+
19+
install -Dm644 TW-Kai*.ttf -t $out/share/fonts/truetype/
20+
21+
runHook postInstall
22+
'';
23+
24+
meta = {
25+
description = "Chinese TrueType Kai font by Ministry of Education of Taiwan government";
26+
homepage = "https://www.cns11643.gov.tw/";
27+
license = lib.licenses.ofl;
28+
maintainers = [ lib.maintainers.rypervenche ];
29+
platforms = lib.platforms.all;
30+
};
31+
}

0 commit comments

Comments
 (0)
Failed to load comments.