From 3b957cfd41cbd0dc4a7f9e924b5ea67417d55513 Mon Sep 17 00:00:00 2001 From: Anomalocaridid <29845794+Anomalocaridid@users.noreply.github.com> Date: Mon, 10 Jun 2024 21:14:31 -0400 Subject: [PATCH] fishPlugins.fish-you-should-use: init at 0-unstable-2022-02-13 --- pkgs/shells/fish/plugins/default.nix | 2 ++ .../fish/plugins/fish-you-should-use.nix | 26 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/shells/fish/plugins/fish-you-should-use.nix diff --git a/pkgs/shells/fish/plugins/default.nix b/pkgs/shells/fish/plugins/default.nix index 36a5a59e4398e..6efb5029121bc 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 0000000000000..96c2e07447f3a --- /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 ]; + }; +}