diff --git a/pkgs/shells/fish/plugins/default.nix b/pkgs/shells/fish/plugins/default.nix index 36a5a59e4398..6efb5029121b 100644 --- a/pkgs/shells/fish/plugins/default.nix +++ b/pkgs/shells/fish/plugins/default.nix @@ -26,6 +26,8 @@ lib.makeScope newScope (self: with self; { fishtape = callPackage ./fishtape.nix { }; fishtape_3 = callPackage ./fishtape_3.nix { }; + fish-you-should-use = callPackage ./fish-you-should-use.nix { }; + foreign-env = callPackage ./foreign-env { }; forgit = callPackage ./forgit.nix { }; diff --git a/pkgs/shells/fish/plugins/fish-you-should-use.nix b/pkgs/shells/fish/plugins/fish-you-should-use.nix new file mode 100644 index 000000000000..96c2e07447f3 --- /dev/null +++ b/pkgs/shells/fish/plugins/fish-you-should-use.nix @@ -0,0 +1,26 @@ +{ + lib, + buildFishPlugin, + fetchFromGitHub, + unstableGitUpdater, +}: +buildFishPlugin { + pname = "fish-you-should-use"; + version = "0-unstable-2022-02-13"; + + src = fetchFromGitHub { + owner = "paysonwallach"; + repo = "fish-you-should-use"; + rev = "a332823512c0b51e71516ebb8341db0528c87926"; + hash = "sha256-MmGDFTgxEFgHdX95OjH3jKsVG1hdwo6bRht+Lvvqe5Y="; + }; + + passthru.updateScript = unstableGitUpdater { }; + + meta = { + description = "Fish plugin that reminds you to use your aliases"; + homepage = "https://github.com/paysonwallach/fish-you-should-use"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ anomalocaris ]; + }; +}