diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-12-04 22:47:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-04 22:47:49 +0100 |
commit | eb58322f48e6b46e05498ce6d781a49b5b33aa71 (patch) | |
tree | 3db7091c84651e1076266f1e6bb731e7eaf4ab32 /pkgs/shells/fish | |
parent | 56965814c343d13fe5275f4f2c1c7932c83209c2 (diff) | |
parent | ad49258230e49424b447fd7eb88c47c5fd037052 (diff) |
Merge pull request #164762 from kidonng/autopair-fish
Diffstat (limited to 'pkgs/shells/fish')
-rw-r--r-- | pkgs/shells/fish/plugins/autopair.nix | 20 | ||||
-rw-r--r-- | pkgs/shells/fish/plugins/default.nix | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/shells/fish/plugins/autopair.nix b/pkgs/shells/fish/plugins/autopair.nix new file mode 100644 index 0000000000000..d1036829bfdb8 --- /dev/null +++ b/pkgs/shells/fish/plugins/autopair.nix @@ -0,0 +1,20 @@ +{ lib, buildFishPlugin, fetchFromGitHub }: + +buildFishPlugin rec { + pname = "autopair"; + version = "1.0.3"; + + src = fetchFromGitHub { + owner = "jorgebucaran"; + repo = "autopair.fish"; + rev = version; + sha256 = "sha256-l6WJ2kjDO/TnU9FSigjxk5xFp90xl68gDfggkE/wrlM="; + }; + + meta = with lib; { + description = "Auto-complete matching pairs in the Fish command line"; + homepage = "https://github.com/jorgebucaran/autopair.fish"; + license = licenses.mit; + maintainers = with maintainers; [ kidonng ]; + }; +} diff --git a/pkgs/shells/fish/plugins/default.nix b/pkgs/shells/fish/plugins/default.nix index 1c67ff8f4b3bd..5b085a091e01f 100644 --- a/pkgs/shells/fish/plugins/default.nix +++ b/pkgs/shells/fish/plugins/default.nix @@ -1,6 +1,7 @@ { lib, newScope }: lib.makeScope newScope (self: with self; { + autopair = callPackage ./autopair.nix { }; autopair-fish = callPackage ./autopair-fish.nix { }; |