1{
2 lib,
3 buildFishPlugin,
4 fetchFromGitHub,
5 unstableGitUpdater,
6}:
7buildFishPlugin {
8 pname = "plugin-sudope";
9 version = "0-unstable-2021-04-11";
10
11 src = fetchFromGitHub {
12 owner = "oh-my-fish";
13 repo = "plugin-sudope";
14 rev = "83919a692bc1194aa322f3627c859fecace5f496";
15 hash = "sha256-pD4rNuqg6TG22L9m8425CO2iqcYm8JaAEXIVa0H/v/U=";
16 };
17
18 passthru.updateScript = unstableGitUpdater { };
19
20 meta = {
21 description = "Fish plugin to quickly put 'sudo' in your command";
22 homepage = "https://github.com/oh-my-fish/plugin-sudope";
23 license = lib.licenses.isc;
24 maintainers = with lib.maintainers; [ anomalocaris ];
25 };
26}