From d5a7aff28885b1ec5f877013d5d9805708634faf Mon Sep 17 00:00:00 2001 From: Marcel Date: Thu, 12 Jun 2025 12:12:01 +0200 Subject: [PATCH] fishPlugins.fishbang: init at 0-unstable-2025-01-10 --- pkgs/shells/fish/plugins/default.nix | 2 ++ pkgs/shells/fish/plugins/fishbang.nix | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/shells/fish/plugins/fishbang.nix diff --git a/pkgs/shells/fish/plugins/default.nix b/pkgs/shells/fish/plugins/default.nix index 6036ddb40aa5..22c9dc819e73 100644 --- a/pkgs/shells/fish/plugins/default.nix +++ b/pkgs/shells/fish/plugins/default.nix @@ -32,6 +32,8 @@ lib.makeScope newScope ( fifc = callPackage ./fifc.nix { }; + fishbang = callPackage ./fishbang.nix { }; + fish-bd = callPackage ./fish-bd.nix { }; # Fishtape 2.x and 3.x aren't compatible, diff --git a/pkgs/shells/fish/plugins/fishbang.nix b/pkgs/shells/fish/plugins/fishbang.nix new file mode 100644 index 000000000000..0efced780dca --- /dev/null +++ b/pkgs/shells/fish/plugins/fishbang.nix @@ -0,0 +1,24 @@ +{ + lib, + buildFishPlugin, + fetchFromGitHub, +}: + +buildFishPlugin { + pname = "fishbang"; + version = "0-unstable-2025-01-10"; + + src = fetchFromGitHub { + owner = "BrewingWeasel"; + repo = "fishbang"; + rev = "f8d2721ac5508dbda54a666ebf12f1492c478277"; + hash = "sha256-VHtjt3Xobvs0DTXJ1mFU8i84EEsNQv3yqbhjs7c1mNE="; + }; + + meta = { + description = "Bash bang commands for fish"; + homepage = "https://github.com/BrewingWeasel/fishbang"; + license = lib.licenses.bsd3; + maintainers = [ lib.maintainers.marcel ]; + }; +}