Commit 4fc35c7
Changed files (3)
pkgs/zhuque-fangsong/default.nix
@@ -0,0 +1,31 @@
+{
+ lib,
+ stdenvNoCC,
+ fetchzip,
+ installFonts,
+ nix-update-script,
+}: let
+ version = "0.212";
+in
+ stdenvNoCC.mkDerivation {
+ pname = "zhuque-fangsong";
+ inherit version;
+
+ src = fetchzip {
+ url = "https://github.com/TrionesType/zhuque/releases/download/v${version}/ZhuqueFangsong-v${version}.zip";
+ hash = "sha256-see78H4ClZON4pujyUxvCjphFrKG73qBVEyhRoSxZ0Y=";
+ };
+
+ nativeBuildInputs = [installFonts];
+
+ passthru.updateScript = nix-update-script {};
+
+ preferLocalBuild = true;
+
+ meta = {
+ homepage = "https://github.com/TrionesType/zhuque";
+ description = "Open-source Chinese Fangsong typeface";
+ license = lib.licenses.ofl;
+ platforms = lib.platforms.all;
+ };
+ }
default.nix
@@ -68,4 +68,6 @@ in rec {
particle-music = selfLib.renamePackage "particle-music" "sylvakru" sylvakru;
realitlscanner = callPackage ./pkgs/realitlscanner {};
+
+ zhuque-fangsong = callPackage ./pkgs/zhuque-fangsong {};
}
README.md
@@ -31,5 +31,6 @@
| `steelix` | [steelix](https://github.com/mattwparas/helix) | `0-unstable-2026-09-30` | [MPL-2.0](https://spdx.org/licenses/MPL-2.0.html) | Helix editor with Steel (Scheme) scripting support |
| `stinkpot` | [stinkpot](https://tangled.org/oppi.li/stinkpot) | `0-unstable-2026-09-16` | Not specified | sqlite-backed shell history |
| `sylvakru` | [sylvakru](https://github.com/AfalpHy/sylvakru) | `4.1.0` | [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) | A cross-platform music player for local and self-hosted libraries |
+| `zhuque-fangsong` | [zhuque-fangsong](https://github.com/TrionesType/zhuque) | `0.212` | [OFL-1.1](https://spdx.org/licenses/OFL-1.1.html) | Open-source Chinese Fangsong typeface |
<!-- END_PACKAGE_TABLE -->