Merge pull request #330634 from r-ryantm/auto-update/circumflex
[NixPkgs.git] / pkgs / shells / zsh / zsh-history-substring-search / default.nix
blob4b2aea76a7b7ca5f6077dc5c0ceab17bd93559bf
1 { stdenv, lib, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
4   pname = "zsh-history-substring-search";
5   version = "1.1.0";
7   src = fetchFromGitHub {
8     owner = "zsh-users";
9     repo = "zsh-history-substring-search";
10     rev = "v${version}";
11     sha256 = "0vjw4s0h4sams1a1jg9jx92d6hd2swq4z908nbmmm2qnz212y88r";
12   };
14   strictDeps = true;
15   installPhase = ''
16     install -D zsh-history-substring-search.zsh \
17       "$out/share/zsh-history-substring-search/zsh-history-substring-search.zsh"
18   '';
20   meta = with lib; {
21     description = "Fish shell history-substring-search for Zsh";
22     homepage = "https://github.com/zsh-users/zsh-history-substring-search";
23     license = licenses.bsd3;
24     maintainers = with maintainers; [ qyliss ];
25     platforms = platforms.unix;
26   };