git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #46522 from alyssais/zsh-history-substring-search

zsh-history-substring-search: init at 1.0.1

commit8ed666f6207d355c26c28a622c7470ff30f7f022 authorTimo Kaufmann <timokau@zoho.com> dateTue 11 Sep 2018, 16:48 (8 years ago) parent288f9c6e2bdf5e
2 files changed+28
pkgs/shells/zsh/zsh-history-substring-search/default.nix+26 pkgs/top-level/all-packages.nix+2
pkgs/shells/zsh/zsh-history-substring-search/default.nixnew file+26
@@ -0,0 +1,26 @@
1+{ stdenv, lib, fetchFromGitHub, zsh }:
2+
3+stdenv.mkDerivation rec {
4+ name = "zsh-history-substring-search-${version}";
5+ version = "1.0.1";
6+
7+ src = fetchFromGitHub {
8+ owner = "zsh-users";
9+ repo = "zsh-history-substring-search";
10+ rev = "v${version}";
11+ sha256 = "0lgmq1xcccnz5cf7vl0r0qj351hwclx9p80cl0qczxry4r2g5qaz";
12+ };
13+
14+ installPhase = ''
15+ install -D zsh-history-substring-search.zsh \
16+ "$out/share/zsh-history-substring-search/zsh-history-substring-search.zsh"
17+ '';
18+
19+ meta = with lib; {
20+ description = "Fish shell history-substring-search for Zsh";
21+ homepage = https://github.com/zsh-users/zsh-history-substring-search;
22+ license = licenses.bsd3;
23+ maintainers = with maintainers; [ qyliss ];
24+ platforms = platforms.unix;
25+ };
26+}
pkgs/top-level/all-packages.nix+2
@@ -6211,6 +6211,8 @@ with pkgs;
62116211
62126212 zsh-git-prompt = callPackage ../shells/zsh/zsh-git-prompt { };
62136213
6214+ zsh-history-substring-search = callPackage ../shells/zsh/zsh-history-substring-search { };
6215+
62146216 zsh-navigation-tools = callPackage ../tools/misc/zsh-navigation-tools { };
62156217
62166218 zsh-syntax-highlighting = callPackage ../shells/zsh/zsh-syntax-highlighting { };