diff --git a/pkgs/shells/fish/plugins/autopair.nix b/pkgs/shells/fish/plugins/autopair.nix new file mode 100644 index 000000000000..d1036829bfdb --- /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 1c67ff8f4b3b..5b085a091e01 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 { };