lxgw-wenkai-tc: init at version 1.330

Added `lxgw-wenkai-tc`, a Traditional Chinese font variation of the existing package
`lxgw-wenkai`.
This commit is contained in:
Lucius Hu 2024-05-06 01:02:00 -04:00
parent dd4070b45f
commit 15be700779
No known key found for this signature in database
GPG Key ID: 7E474E82E29B5A7A

View File

@ -0,0 +1,30 @@
{ stdenvNoCC
, fetchurl
, lib
}:
stdenvNoCC.mkDerivation rec {
pname = "lxgw-wenkai-tc";
version = "1.330";
src = fetchurl {
url = "https://github.com/lxgw/LxgwWenKaiTC/releases/download/v${version}/${pname}-v${version}.tar.gz";
hash = "sha256-qpX5shH1HbGMa287u/R1rMFgQeAUC0wwKFVD+QSTyho=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/fonts/truetype
mv *.ttf $out/share/fonts/truetype
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/lxgw/LxgwWenKaiTC";
description = "The Traditional Chinese Edition of LXGW WenKai.";
license = licenses.ofl;
platforms = platforms.all;
maintainers = with maintainers; [ lebensterben ];
};
}