From 0235225a3c1afbe92bd3dfc070242108b6c4af6e Mon Sep 17 00:00:00 2001 From: Tobias Happ Date: Thu, 4 Nov 2021 14:04:09 +0100 Subject: [PATCH] zsh-better-npm-completion: init at unstable-2019-11-19 --- .../zsh/zsh-better-npm-completion/default.nix | 25 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/shells/zsh/zsh-better-npm-completion/default.nix diff --git a/pkgs/shells/zsh/zsh-better-npm-completion/default.nix b/pkgs/shells/zsh/zsh-better-npm-completion/default.nix new file mode 100644 index 000000000000..983a772d6d57 --- /dev/null +++ b/pkgs/shells/zsh/zsh-better-npm-completion/default.nix @@ -0,0 +1,25 @@ +{ 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6131804f4fd9..d52dd29bbda5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11011,6 +11011,8 @@ with pkgs; zsh-bd = callPackage ../shells/zsh/zsh-bd { }; + zsh-better-npm-completion = callPackage ../shells/zsh/zsh-better-npm-completion { }; + zsh-clipboard = callPackage ../shells/zsh/zsh-clipboard { }; zsh-git-prompt = callPackage ../shells/zsh/zsh-git-prompt { };