1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/shells/zsh/zplug/default.nix
2020-04-09 11:55:40 +02:00

31 lines
633 B
Nix

{ 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 ];
};
}