init: public

This commit is contained in:
2025-04-13 15:09:14 +08:00
parent 5995c2050b
commit 50247d94e8
253 changed files with 12964 additions and 567 deletions

34
pkgs/wps-office-fonts.nix Normal file
View File

@@ -0,0 +1,34 @@
{
lib,
stdenvNoCC,
fetchurl,
}:
stdenvNoCC.mkDerivation rec {
pname = "wps-office-fonts";
version = "1.0";
src = fetchurl {
url = "https://github.com/Universebenzene/wps-office-fonts/archive/refs/tags/v${version}.tar.gz";
sha256 = "db01fc07324115b181cb06f50dfe09fd17feee132c46423ee70b260830211224";
};
phases = [
"unpackPhase"
"installPhase"
];
installPhase = ''
runHook preInstall
mkdir -p $out/share/fonts/wps-office-fonts
cp *.TTF $out/share/fonts/wps-office-fonts
runHook postInstall
'';
meta = {
description = "The wps-office-fonts package contains Founder Chinese fonts";
homepage = "https://github.com/Universebenzene/wps-office-fonts";
license = lib.licenses.unlicense;
};
}