3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/shells/zsh/zsh-autosuggestions/default.nix
R. RyanTM 31f76cde3e zsh-autosuggestions: 0.4.2 -> 0.4.3 (#40949)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/zsh-autosuggestions/versions.

These checks were done:

- built on NixOS

- 0 of 0 passed binary check by having a zero exit code.
- 0 of 0 passed binary check by having the new version present in output.
- found 0.4.3 with grep in /nix/store/dvwkp03wvr20n7yf3738hxsl9h1ab02i-zsh-autosuggestions-0.4.3
- directory tree listing: https://gist.github.com/dd361ac28a6f251b013a1fafa71c394e
- du listing: https://gist.github.com/cb334bbb9559eb43e36794d276a97db9
2018-05-23 11:54:14 +02:00

31 lines
815 B
Nix

{ stdenv, fetchFromGitHub, zsh }:
# To make use of this derivation, use the `programs.zsh.enableAutoSuggestions` option
stdenv.mkDerivation rec {
name = "zsh-autosuggestions-${version}";
version = "0.4.3";
src = fetchFromGitHub {
owner = "zsh-users";
repo = "zsh-autosuggestions";
rev = "v${version}";
sha256 = "117m4jk3lgh98k699v00pg554qblpr4pbfvgs0qrgygfx1n1bpl4";
};
buildInputs = [ zsh ];
installPhase = ''
install -D zsh-autosuggestions.zsh \
$out/share/zsh-autosuggestions/zsh-autosuggestions.zsh
'';
meta = with stdenv.lib; {
description = "Fish shell autosuggestions for Zsh";
homepage = https://github.com/zsh-users/zsh-autosuggestions;
license = licenses.mit;
platforms = platforms.unix;
maintainers = [ maintainers.loskutov ];
};
}