update packages, and add noto-font packages

This commit is contained in:
ulic-youthlic 2025-04-05 03:07:13 +08:00
parent e6ac0f0edf
commit d0980e681c
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
7 changed files with 145 additions and 16 deletions

21
pkgs/noto-sans-cjk.nix Normal file
View file

@ -0,0 +1,21 @@
{
nixosTests,
srcs,
stdenvNoCC,
...
}:
let
source = srcs.noto-sans-cjk;
in
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "noto-sans-cjk";
version = source.version;
src = source.src;
installPhase = ''
install -m444 -Dt $out/share/fonts/opentype/noto-sans-cjk Sans/OTC/*.ttc
'';
passthru.tests.noto-fonts = nixosTests.noto-fonts;
})