main
 1{
 2  lib,
 3  buildHelixPlugin,
 4  fetchFromGitHub,
 5  rustPlatform,
 6}:
 7buildHelixPlugin rec {
 8  pname = "helix-file-watcher";
 9  version = "unstable-2026-05-21";
10
11  src = fetchFromGitHub {
12    owner = "mattwparas";
13    repo = "helix-file-watcher";
14    rev = "e118b7552ec7697c560a24b48880c92d6aa4476e";
15    hash = "sha256-AvUihtnJtVZ6cLJJrNzhTmt/ZT1lZzprCRbuAfbzRc0=";
16  };
17
18  cargoDeps = rustPlatform.fetchCargoVendor {
19    inherit src;
20    hash = "sha256-RhxKQSydcY48/aWZGPbJe6pFrKptynMV35BQSD16tXo=";
21  };
22
23  meta = {
24    description = "Helix file watcher plugin";
25    homepage = "https://github.com/mattwparas/helix-file-watcher";
26    # license = lib.licenses.unfree; # Unclear licensing status. Marked as unfree.
27  };
28}