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:
commit
2c3dbb1288
2 changed files with 40 additions and 0 deletions
|
@ -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";
|
||||
|
|
33
pkgs/by-name/cn/cns11643-kai/package.nix
Normal file
33
pkgs/by-name/cn/cns11643-kai/package.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue