main
 1{
 2  lib,
 3  buildHelixPlugin,
 4  fetchFromGitHub,
 5  rustPlatform,
 6}:
 7buildHelixPlugin rec {
 8  pname = "scooter.hx";
 9  version = "unstable-2026-03-15";
10
11  src = fetchFromGitHub {
12    owner = "thomasschafer";
13    repo = "scooter.hx";
14    rev = "eaf2de26eed45e1405df72d22a6400709870802a";
15    hash = "sha256-X2qlnNVN47Q1HEqiPC9vHZBsAcMCHsupO534XgDWZ9o=";
16  };
17
18  cargoDeps = rustPlatform.fetchCargoVendor {
19    inherit src;
20    hash = "sha256-akUwMjHdgYd1nyFcPaoCTrpB7zarkBfMSsXUsN2S3Go=";
21  };
22
23  meta = {
24    description = "Interactive find-and-replace Helix plugin";
25    homepage = "https://github.com/thomasschafer/scooter.hx";
26    license = lib.licenses.mit;
27  };
28}