Commit 10059a8

HPCesia <me@hpcesia.com>
2026-05-28 12:56:42
new package: helixPlugins.fcitx-focus
1 parent 1899e23
Changed files (3)
pkgs/helix-plugins/default.nix
@@ -7,6 +7,8 @@ lib.makeScope newScope (
     with self; {
       buildHelixPlugin = callPackage ./build-helix-plugin.nix {};
 
+      fcitx-focus = callPackage ./fcitx-focus.nix {};
+
       file-tree = callPackage ./file-tree-hx.nix {};
 
       helix-file-watcher = callPackage ./helix-file-watcher {};
pkgs/helix-plugins/fcitx-focus.nix
@@ -0,0 +1,31 @@
+{
+  lib,
+  buildHelixPlugin,
+  fetchFromGitHub,
+  rustPlatform,
+}:
+buildHelixPlugin rec {
+  pname = "helix-fcitx-focus";
+  version = "unstable-2026-05-06";
+
+  src = fetchFromGitHub {
+    owner = "mtul0729";
+    repo = "helix-fcitx-focus";
+    rev = "d0797824239a8e7254c7e8ed8d686d14c7657b0f";
+    hash = "sha256-VmJV2uy4uiTJSzUszaTJjkcmQI8fc1i6HPk+phT/36Q=";
+  };
+
+  cargoDeps = rustPlatform.fetchCargoVendor {
+    inherit src;
+    hash = "sha256-LVNwdhn2h50un3r391JwPJiPhlTmRPl863rqB595RKo=";
+  };
+
+  meta = {
+    description = "Steel native module for Helix fcitx5 focus and mode switching";
+    homepage = "https://github.com/mtul0729/helix-fcitx-focus";
+    license = with lib.licenses; [
+      mit
+      asl20
+    ];
+  };
+}
README.md
@@ -25,6 +25,7 @@
 
 | Path | Name | Version | License | Description |
 | --- | --- | --- | --- | --- |
+| `helixPlugins.fcitx-focus` | [helix-fcitx-focus](https://github.com/mtul0729/helix-fcitx-focus) | `unstable-2026-05-06` | [MIT](https://spdx.org/licenses/MIT.html) | Steel native module for Helix fcitx5 focus and mode switching |
 | `helixPlugins.file-tree` | [file-tree.hx](https://github.com/mattwparas/file-tree.hx) | `unstable-2026-05-01` | Not specified | File tree for helix, using Steel. |
 | `helixPlugins.helix-file-watcher` | [helix-file-watcher](https://github.com/mattwparas/helix-file-watcher) | `unstable-2026-03-08` | Not specified | Helix file watcher plugin |
 | `helixPlugins.scooter-hx` | [scooter.hx](https://github.com/thomasschafer/scooter.hx) | `unstable-2026-03-15` | [MIT](https://spdx.org/licenses/MIT.html) | Interactive find-and-replace Helix plugin |