nixpkgs/pkgs/shells/zsh/zplug/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

35 lines
808 B
Nix

{ stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "zplug";
version = "2.4.2";
src = fetchFromGitHub {
owner = "zplug";
repo = pname;
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;
};
}