Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
39 lines
817 B
Nix
39 lines
817 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "zplug";
|
|
version = "2.4.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zplug";
|
|
repo = "zplug";
|
|
rev = version;
|
|
sha256 = "0hci1pbs3k5icwfyfw5pzcgigbh9vavprxxvakg1xm19n8zb61b3";
|
|
};
|
|
|
|
strictDeps = true;
|
|
dontConfigure = true;
|
|
dontBuild = true;
|
|
dontPatch = true;
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/share/zplug
|
|
cp -r $src/{autoload,base,bin,init.zsh,misc} $out/share/zplug/
|
|
mkdir -p $out/share/man
|
|
cp -r $src/doc/man/* $out/share/man/
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Next-generation plugin manager for zsh";
|
|
homepage = "https://github.com/zplug/zplug";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.s1341 ];
|
|
mainProgram = "zplug-env";
|
|
platforms = platforms.all;
|
|
};
|
|
}
|