summaryrefslogtreecommitdiff
path: root/pkgs/shells/fish/plugins/plugin-sudope.nix
blob: 58907dc9c2af43387632156809aa6b2133d92fe2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  lib,
  buildFishPlugin,
  fetchFromGitHub,
  unstableGitUpdater,
}:
buildFishPlugin {
  pname = "plugin-sudope";
  version = "0-unstable-2025-09-16";

  src = fetchFromGitHub {
    owner = "oh-my-fish";
    repo = "plugin-sudope";
    rev = "4ad91e49329811939c3a09221a95e620c3964b17";
    hash = "sha256-OsgThGY/tGF/XBQFyXTY9qYf50B01wEH93lqWEAxZPY=";
  };

  passthru.updateScript = unstableGitUpdater { };

  meta = {
    description = "Fish plugin to quickly put 'sudo' in your command";
    homepage = "https://github.com/oh-my-fish/plugin-sudope";
    license = lib.licenses.isc;
    maintainers = with lib.maintainers; [ anomalocaris ];
  };
}