aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/shells/zsh/zplug/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/shells/zsh/zplug/default.nix')
-rw-r--r--nixpkgs/pkgs/shells/zsh/zplug/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/shells/zsh/zplug/default.nix b/nixpkgs/pkgs/shells/zsh/zplug/default.nix
new file mode 100644
index 00000000000..d35eb345dda
--- /dev/null
+++ b/nixpkgs/pkgs/shells/zsh/zplug/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, lib, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+ pname = "zplug";
+ version = "2.4.2";
+
+ src = fetchFromGitHub {
+ owner = "zplug";
+ repo = pname;
+ rev = version;
+ sha256 = "0hci1pbs3k5icwfyfw5pzcgigbh9vavprxxvakg1xm19n8zb61b3";
+ };
+
+ dontConfigure = true;
+ dontBuild = true;
+ dontPatch = true;
+
+ installPhase = ''
+ mkdir -p $out
+ cp -r $src/* $out/
+ '';
+
+ meta = with lib; {
+ description = "A next-generation plugin manager for zsh";
+ homepage = "https://github.com/zplug/zplug";
+ license = licenses.mit;
+ platforms = platforms.all;
+ maintainers = [ maintainers.s1341 ];
+ };
+}