depot/third_party/nixpkgs/pkgs/shells/zsh/zsh-better-npm-completion/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

25 lines
732 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "zsh-better-npm-completion";
version = "unstable-2019-11-19";
src = fetchFromGitHub {
owner = "lukechilds";
repo = "zsh-better-npm-completion";
rev = "0a7cf042415324ec38a186fdcbc9af163f0d7e69";
sha256 = "16z7k5n1rcl9i61lrm7i5dsqsmhvdp1y4y5ii6hv2xpp470addgy";
};
installPhase = ''
install -Dm 0644 zsh-better-npm-completion.plugin.zsh $out/share/zsh-better-npm-completion
'';
meta = with lib; {
description = "Better completion for npm";
homepage = "https://github.com/lukechilds/zsh-better-npm-completion";
license = licenses.mit;
platforms = platforms.unix;
maintainers = [ maintainers.gerschtli ];
};
}