From aa9cd07dfe4dee08e29257737e90ef366606507d Mon Sep 17 00:00:00 2001 From: ulic-youthlic Date: Tue, 23 Jun 2026 03:47:40 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20Remove=20=E6=98=9F=E9=99=88=20input=20m?= =?UTF-8?q?ethod?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _sources/generated.json | 17 +--------- _sources/generated.nix | 9 ----- nvfetcher.toml | 5 --- overlays/additions/default.nix | 1 - overlays/additions/rime-yuhaostar.nix | 5 --- pkgs/rime-all/default.custom.yaml | 1 - pkgs/rime-all/package.nix | 3 -- pkgs/rime-all/yustar_sc.custom.yaml | 2 -- pkgs/rime-yuhaostar/key_binder.patch | 48 --------------------------- pkgs/rime-yuhaostar/package.nix | 35 ------------------- 10 files changed, 1 insertion(+), 125 deletions(-) delete mode 100644 overlays/additions/rime-yuhaostar.nix delete mode 100644 pkgs/rime-all/yustar_sc.custom.yaml delete mode 100644 pkgs/rime-yuhaostar/key_binder.patch delete mode 100644 pkgs/rime-yuhaostar/package.nix diff --git a/_sources/generated.json b/_sources/generated.json index 505d10c..d3eee60 100644 --- a/_sources/generated.json +++ b/_sources/generated.json @@ -62,21 +62,6 @@ }, "version": "c12649b2458e34ec6dde8f1bdfe830661a613a6b" }, - "rime-yuhaostar": { - "cargoLock": null, - "date": null, - "extract": null, - "name": "rime-yuhaostar", - "passthru": null, - "pinned": false, - "src": { - "name": "yustar_v3.10.0.zip", - "sha256": "sha256-fw4DxYyONb1ZkoIiLc/TRPw5jBy7RcM1JLF4HfEvgrQ=", - "type": "url", - "url": "https://github.com/forfudan/yuhao-ime-release/releases/download/v3.10.0/star_xingchen_v3.10.0.zip" - }, - "version": "v3.10.0" - }, "wshowkeys-mao": { "cargoLock": null, "date": "2025-09-14", @@ -98,4 +83,4 @@ }, "version": "184f55dbc5320c34a56d02353410ad35a0f3e090" } -} \ No newline at end of file +} diff --git a/_sources/generated.nix b/_sources/generated.nix index bb7a078..c1b5827 100644 --- a/_sources/generated.nix +++ b/_sources/generated.nix @@ -42,15 +42,6 @@ }; date = "2026-02-15"; }; - rime-yuhaostar = { - pname = "rime-yuhaostar"; - version = "v3.10.0"; - src = fetchurl { - url = "https://github.com/forfudan/yuhao-ime-release/releases/download/v3.10.0/star_xingchen_v3.10.0.zip"; - name = "yustar_v3.10.0.zip"; - sha256 = "sha256-fw4DxYyONb1ZkoIiLc/TRPw5jBy7RcM1JLF4HfEvgrQ="; - }; - }; wshowkeys-mao = { pname = "wshowkeys-mao"; version = "184f55dbc5320c34a56d02353410ad35a0f3e090"; diff --git a/nvfetcher.toml b/nvfetcher.toml index 98a26a2..5f68d97 100644 --- a/nvfetcher.toml +++ b/nvfetcher.toml @@ -10,11 +10,6 @@ src.git = "https://github.com/DreamMaoMao/wshowkeys.git" fetch.github = "top-mind/OuterWildsTextAdventureWeb" src.git = "https://github.com/top-mind/OuterWildsTextAdventureWeb.git" -[rime-yuhaostar] -fetch.url = "https://github.com/forfudan/yuhao-ime-release/releases/download/$ver/star_xingchen_$ver.zip" -src.github = "forfudan/yuhao-ime-release" -url.name = "yustar_$ver.zip" - [nvim_vim-startuptime] fetch.github = "dstein64/vim-startuptime" src.git = "https://github.com/dstein64/vim-startuptime.git" diff --git a/overlays/additions/default.nix b/overlays/additions/default.nix index 4b4af97..d5c5a72 100644 --- a/overlays/additions/default.nix +++ b/overlays/additions/default.nix @@ -8,7 +8,6 @@ in ./OuterWildsTextAdventure.nix ./editor-runtime.nix ./wallpapers.nix - ./rime-yuhaostar.nix ./rime-all.nix ./nixvim.nix ./doom-emacs.nix diff --git a/overlays/additions/rime-yuhaostar.nix b/overlays/additions/rime-yuhaostar.nix deleted file mode 100644 index b9de88e..0000000 --- a/overlays/additions/rime-yuhaostar.nix +++ /dev/null @@ -1,5 +0,0 @@ -{outputs, ...}: _final: prev: let - inherit (prev.stdenv.hostPlatform) system; -in { - inherit (outputs.packages.${system}) rime-yuhaostar; -} diff --git a/pkgs/rime-all/default.custom.yaml b/pkgs/rime-all/default.custom.yaml index 4505e22..4444cd9 100644 --- a/pkgs/rime-all/default.custom.yaml +++ b/pkgs/rime-all/default.custom.yaml @@ -2,7 +2,6 @@ patch: "__include": rime_ice_suggestion:/ "schema_list": - schema: double_pinyin_flypy - - schema: yustar_sc "menu/page_size": 7 "switcher/caption": 「方案选单」 "switcher/hotkeys": diff --git a/pkgs/rime-all/package.nix b/pkgs/rime-all/package.nix index 873152e..9131724 100644 --- a/pkgs/rime-all/package.nix +++ b/pkgs/rime-all/package.nix @@ -1,6 +1,5 @@ { rime-ice, - rime-yuhaostar, rime-moegirl, rime-zhwiki, buildEnv, @@ -11,7 +10,6 @@ buildEnv { name = "rime-all"; paths = [ rime-ice - rime-yuhaostar rime-zhwiki rime-moegirl ]; @@ -19,7 +17,6 @@ buildEnv { librime ]; postBuild = '' - ln -s ${./yustar_sc.custom.yaml} $out/share/rime-data/yustar_sc.custom.yaml ln -s ${./double_pinyin_flypy.custom.yaml} $out/share/rime-data/double_pinyin_flypy.custom.yaml ln -s ${./default.custom.yaml} $out/share/rime-data/default.custom.yaml diff --git a/pkgs/rime-all/yustar_sc.custom.yaml b/pkgs/rime-all/yustar_sc.custom.yaml deleted file mode 100644 index 27f1041..0000000 --- a/pkgs/rime-all/yustar_sc.custom.yaml +++ /dev/null @@ -1,2 +0,0 @@ -patch: - "style/horizontal": false diff --git a/pkgs/rime-yuhaostar/key_binder.patch b/pkgs/rime-yuhaostar/key_binder.patch deleted file mode 100644 index 0d7824a..0000000 --- a/pkgs/rime-yuhaostar/key_binder.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff --git a/yuhao_pinyin.schema.yaml b/yuhao_pinyin.schema.yaml -index 7b5f1cb..d82945d 100644 ---- a/yuhao_pinyin.schema.yaml -+++ b/yuhao_pinyin.schema.yaml -@@ -75,6 +75,7 @@ punctuator: - "|": "|" - - key_binder: -+ import_preset: default - bindings: - - { when: always, accept: "Control+period", toggle: ascii_punct } - - { when: always, accept: "Control+Shift+period", toggle: ascii_punct } -diff --git a/yustar.schema.yaml b/yustar.schema.yaml -index e4b432c..d7a2d64 100644 ---- a/yustar.schema.yaml -+++ b/yustar.schema.yaml -@@ -307,6 +307,7 @@ punctuator: - "|": "|" - - key_binder: -+ import_preset: default - bindings: - - { when: always, accept: "Control+period", toggle: ascii_punct } - - { when: always, accept: "Control+Shift+period", toggle: ascii_punct } -diff --git a/yustar_sc.schema.yaml b/yustar_sc.schema.yaml -index 806f636..ca8e2aa 100644 ---- a/yustar_sc.schema.yaml -+++ b/yustar_sc.schema.yaml -@@ -301,6 +301,7 @@ punctuator: - "|": "|" - - key_binder: -+ import_preset: default - bindings: - - { when: always, accept: "Control+period", toggle: ascii_punct } - - { when: always, accept: "Control+Shift+period", toggle: ascii_punct } -diff --git a/yustar_tw.schema.yaml b/yustar_tw.schema.yaml -index 93943fe..7054eae 100644 ---- a/yustar_tw.schema.yaml -+++ b/yustar_tw.schema.yaml -@@ -300,6 +300,7 @@ punctuator: - "|": "|" - - key_binder: -+ import_preset: default - bindings: - - { when: always, accept: "Control+period", toggle: ascii_punct } - - { when: always, accept: "Control+Shift+period", toggle: ascii_punct } diff --git a/pkgs/rime-yuhaostar/package.nix b/pkgs/rime-yuhaostar/package.nix deleted file mode 100644 index 4c807ee..0000000 --- a/pkgs/rime-yuhaostar/package.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ - srcs, - stdenv, - unzip, -}: let - inherit (srcs.rime-yuhaostar) src version; -in - stdenv.mkDerivation { - pname = "rime-yuhaostar"; - version = - if version != "v3.10.0" - then - throw '' - Please update 宇浩输入法。 - '' - else version; - inherit src; - nativeBuildInputs = [unzip]; - - sourceRoot = "schema"; - - patches = [ - ./key_binder.patch - ]; - - installPhase = '' - runHook preInstall - - mkdir -p $out/share/rime-data - cp -rt $out/share/rime-data -- ./* - rm $out/share/rime-data/default.custom.yaml - - runHook postInstall - ''; - }