main
 1{
 2  lib,
 3  buildHelixPlugin,
 4  fetchFromGitHub,
 5  rustPlatform,
 6}:
 7buildHelixPlugin rec {
 8  pname = "helix-fcitx-focus";
 9  version = "unstable-2026-05-06";
10
11  src = fetchFromGitHub {
12    owner = "mtul0729";
13    repo = "helix-fcitx-focus";
14    rev = "d0797824239a8e7254c7e8ed8d686d14c7657b0f";
15    hash = "sha256-VmJV2uy4uiTJSzUszaTJjkcmQI8fc1i6HPk+phT/36Q=";
16  };
17
18  cargoDeps = rustPlatform.fetchCargoVendor {
19    inherit src;
20    hash = "sha256-LVNwdhn2h50un3r391JwPJiPhlTmRPl863rqB595RKo=";
21  };
22
23  meta = {
24    description = "Steel native module for Helix fcitx5 focus and mode switching";
25    homepage = "https://github.com/mtul0729/helix-fcitx-focus";
26    license = with lib.licenses; [
27      mit
28      asl20
29    ];
30  };
31}