Commit 4a1f52c
Changed files (3)
pkgs/lxgw-marker-gothic/default.nix
@@ -0,0 +1,34 @@
+{
+ lib,
+ stdenvNoCC,
+ fetchzip,
+ installFonts,
+ nix-update-script,
+}: let
+ version = "1.003";
+in
+ stdenvNoCC.mkDerivation {
+ pname = "lxgw-marker-gothic";
+ inherit version;
+
+ src = fetchzip {
+ url = "https://github.com/lxgw/LxgwMarkerGothic/releases/download/v${version}/LxgwMarkerGothic-v${version}.zip";
+ hash = "sha256-tkA3yjRHJqfudbgx0EXBPhXkxS0qbijojI24rLbXV+o=";
+ };
+
+ nativeBuildInputs = [installFonts];
+
+ # fonts/gf is a Google Fonts-styled duplicate that collides with fonts/ttf in installFonts
+ preInstall = "rm -r fonts/gf";
+
+ passthru.updateScript = nix-update-script {};
+
+ preferLocalBuild = true;
+
+ meta = {
+ homepage = "https://github.com/lxgw/LxgwMarkerGothic";
+ description = "Open-source Chinese font derived from Tanugo";
+ license = lib.licenses.ofl;
+ platforms = lib.platforms.all;
+ };
+ }
default.nix
@@ -39,6 +39,8 @@ in rec {
kelivo = callPackage ./pkgs/kelivo {};
+ lxgw-marker-gothic = callPackage ./pkgs/lxgw-marker-gothic {};
+
miaomiaowu = callPackage ./pkgs/miaomiaowu {};
localbooru-bin = callPackage ./pkgs/localbooru-bin {};
README.md
@@ -17,6 +17,7 @@
| `harmonoid` | [harmonoid](https://harmonoid.com/) | `0.3.32` | **Unfree** | Plays & manages your music library. Looks beautiful & juicy. |
| `kelivo` | [kelivo](https://github.com/Chevey339/kelivo) | `1.3.0` | [AGPL-3.0-only](https://spdx.org/licenses/AGPL-3.0-only.html) | LLM chat client |
| `localbooru-bin` | [localbooru-bin](https://github.com/resucutie/localbooru) | `1.6.1` | [GPL-3.0-only](https://spdx.org/licenses/GPL-3.0-only.html) | Cross platform local booru collection that exclusively works on local storage, without selfhosting |
+| `lxgw-marker-gothic` | [lxgw-marker-gothic](https://github.com/lxgw/LxgwMarkerGothic) | `1.003` | [OFL-1.1](https://spdx.org/licenses/OFL-1.1.html) | Open-source Chinese font derived from Tanugo |
| `miaomiaowu` | [miaomiaowu](https://github.com/iluobei/miaomiaowu) | `0.8.7` | [MIT](https://spdx.org/licenses/MIT.html) | Personal Clash subscriptions management system |
| `mo2-lint` | [mo2-lint](https://github.com/Furglitch/modorganizer2-linux-installer) | `7.0.2` | [GPL-3.0-only](https://spdx.org/licenses/GPL-3.0-only.html) | An easy-to-use Mod Organizer 2 installer for Linux, rewrited in Python. |
| `musly-player` | [musly-player](https://github.com/dddevid/Musly) | `2.0.2` | [CC-BY-NC-SA-4.0](https://spdx.org/licenses/CC-BY-NC-SA-4.0.html) | A beautiful Flutter music streaming client for Subsonic-compatible servers with a modern Apple Music-inspired UI. |