{ stdenv, fetchFromGitHub}: stdenv.mkDerivation rec { name = "zsh-completions-${version}"; version = "0.25.0"; src = fetchFromGitHub { owner = "zsh-users"; repo = "zsh-completions"; rev = "${version}"; sha256 = "0hc56y0fvshzs05acbzxf4q37vqsk4q3zp4c7smh175v56wigy94"; }; installPhase= '' install -D --target-directory=$out/share/zsh/site-functions src/* ''; meta = { description = "Additional completion definitions for zsh"; homepage = "https://github.com/zsh-users/zsh-completions"; license = stdenv.lib.licenses.free; platforms = stdenv.lib.platforms.unix; maintainers = [ stdenv.lib.maintainers.olejorgenb ]; }; }