aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/shells/zsh/zsh-history-substring-search/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/shells/zsh/zsh-history-substring-search/default.nix')
-rw-r--r--nixpkgs/pkgs/shells/zsh/zsh-history-substring-search/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/shells/zsh/zsh-history-substring-search/default.nix b/nixpkgs/pkgs/shells/zsh/zsh-history-substring-search/default.nix
new file mode 100644
index 00000000000..fcd294f4dce
--- /dev/null
+++ b/nixpkgs/pkgs/shells/zsh/zsh-history-substring-search/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, lib, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+ pname = "zsh-history-substring-search";
+ version = "1.0.2";
+
+ src = fetchFromGitHub {
+ owner = "zsh-users";
+ repo = "zsh-history-substring-search";
+ rev = "v${version}";
+ sha256 = "0y8va5kc2ram38hbk2cibkk64ffrabfv1sh4xm7pjspsba9n5p1y";
+ };
+
+ installPhase = ''
+ install -D zsh-history-substring-search.zsh \
+ "$out/share/zsh-history-substring-search/zsh-history-substring-search.zsh"
+ '';
+
+ meta = with lib; {
+ description = "Fish shell history-substring-search for Zsh";
+ homepage = https://github.com/zsh-users/zsh-history-substring-search;
+ license = licenses.bsd3;
+ maintainers = with maintainers; [ qyliss ];
+ platforms = platforms.unix;
+ };
+}