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
38 lines
892 B
Nix
38 lines
892 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "zsh-edit";
|
|
version = "0-unstable-2022-05-05";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "marlonrichert";
|
|
repo = "zsh-edit";
|
|
rev = "4a8fa599792b6d52eadbb3921880a40872013d28";
|
|
sha256 = "PI4nvzB/F0mHlc0UZJdD49vjzB6pXhhJYNTSmBhY8iU=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
outdir=$out/share/zsh/${pname}
|
|
install -D zsh-edit.plugin.zsh $outdir/zsh-edit.plugin.zsh
|
|
install -D _bind $outdir/_bind
|
|
install -d $outdir/functions
|
|
install -D functions/{,.edit}* $outdir/functions
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/marlonrichert/zsh-edit";
|
|
description = "Set of powerful extensions to the Zsh command line editor";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ deejayem ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|