diff options
author | Quantenzitrone <quantenzitrone@protonmail.com> | 2022-11-10 02:13:00 +0100 |
---|---|---|
committer | Emery Hemingway <ehmry@posteo.net> | 2022-11-19 10:35:39 -0600 |
commit | c0d10e2d1eab91e6258170825b6a0852afb45e11 (patch) | |
tree | cb87b41c8614602153cad6b7f0f8fa636c52df5d /pkgs/shells | |
parent | 71a161dbb78f6eef470a63729819c99a68755556 (diff) |
fishPlugins.sponge: init at 1.1.0
Diffstat (limited to 'pkgs/shells')
-rw-r--r-- | pkgs/shells/fish/plugins/default.nix | 2 | ||||
-rw-r--r-- | pkgs/shells/fish/plugins/sponge.nix | 20 |
2 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/shells/fish/plugins/default.nix b/pkgs/shells/fish/plugins/default.nix index cb2d73dacc5a1..c67639a85a2f2 100644 --- a/pkgs/shells/fish/plugins/default.nix +++ b/pkgs/shells/fish/plugins/default.nix @@ -31,4 +31,6 @@ lib.makeScope newScope (self: with self; { pure = callPackage ./pure.nix { }; + sponge = callPackage ./sponge.nix { }; + }) diff --git a/pkgs/shells/fish/plugins/sponge.nix b/pkgs/shells/fish/plugins/sponge.nix new file mode 100644 index 0000000000000..2afc3ec615854 --- /dev/null +++ b/pkgs/shells/fish/plugins/sponge.nix @@ -0,0 +1,20 @@ +{ lib, buildFishPlugin, fetchFromGitHub }: + +buildFishPlugin rec { + pname = "sponge"; + version = "1.1.0"; + + src = fetchFromGitHub { + owner = "meaningful-ooo"; + repo = pname; + rev = "${version}"; + sha256 = "sha256-MdcZUDRtNJdiyo2l9o5ma7nAX84xEJbGFhAVhK+Zm1w="; + }; + + meta = with lib; { + description = "keeps your fish shell history clean from typos, incorrectly used commands and everything you don't want to store due to privacy reasons"; + homepage = "https://github.com/meaningful-ooo/sponge"; + license = licenses.mit; + maintainers = with maintainers; [ quantenzitrone ]; + }; +} |