summary refs log tree commit diff
path: root/pkgs/shells/zsh/zsh-history-substring-search
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2018-08-12 23:07:24 +0200
committerAlyssa Ross <hi@alyssa.is>2018-09-11 13:59:54 +0100
commite2bdf5ea3b55039ad056a92866064ae7c7c4de2e (patch)
tree192c8ed4b906712338a6fed0eeec0d0eadf4ff3e /pkgs/shells/zsh/zsh-history-substring-search
parent48abf865bc8f7a95143f7a95e2d62b0add243684 (diff)
downloadnixpkgs-e2bdf5ea3b55039ad056a92866064ae7c7c4de2e.tar
nixpkgs-e2bdf5ea3b55039ad056a92866064ae7c7c4de2e.tar.gz
nixpkgs-e2bdf5ea3b55039ad056a92866064ae7c7c4de2e.tar.bz2
nixpkgs-e2bdf5ea3b55039ad056a92866064ae7c7c4de2e.tar.lz
nixpkgs-e2bdf5ea3b55039ad056a92866064ae7c7c4de2e.tar.xz
nixpkgs-e2bdf5ea3b55039ad056a92866064ae7c7c4de2e.tar.zst
nixpkgs-e2bdf5ea3b55039ad056a92866064ae7c7c4de2e.zip
zsh-history-substring-search: init at 1.0.1
Diffstat (limited to 'pkgs/shells/zsh/zsh-history-substring-search')
-rw-r--r--pkgs/shells/zsh/zsh-history-substring-search/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/shells/zsh/zsh-history-substring-search/default.nix b/pkgs/shells/zsh/zsh-history-substring-search/default.nix
new file mode 100644
index 00000000000..26866f830db
--- /dev/null
+++ b/pkgs/shells/zsh/zsh-history-substring-search/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, lib, fetchFromGitHub, zsh }:
+
+stdenv.mkDerivation rec {
+  name = "zsh-history-substring-search-${version}";
+  version = "1.0.1";
+
+  src = fetchFromGitHub {
+    owner = "zsh-users";
+    repo = "zsh-history-substring-search";
+    rev = "v${version}";
+    sha256 = "0lgmq1xcccnz5cf7vl0r0qj351hwclx9p80cl0qczxry4r2g5qaz";
+  };
+
+  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;
+  };
+}