1 { lib, stdenv, fetchFromGitHub, zsh }:
3 # To make use of this derivation, use the `programs.zsh.autosuggestions.enable` option
5 stdenv.mkDerivation rec {
6 pname = "zsh-autosuggestions";
9 src = fetchFromGitHub {
11 repo = "zsh-autosuggestions";
13 sha256 = "1g3pij5qn2j7v7jjac2a63lxd97mcsgw6xq6k5p7835q9fjiid98";
17 buildInputs = [ zsh ];
20 install -D zsh-autosuggestions.zsh \
21 $out/share/zsh-autosuggestions/zsh-autosuggestions.zsh
25 description = "Fish shell autosuggestions for Zsh";
26 homepage = "https://github.com/zsh-users/zsh-autosuggestions";
27 license = licenses.mit;
28 platforms = platforms.unix;
29 maintainers = [ maintainers.loskutov ];