1 { stdenv, lib, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
5 version = "unstable-2022-05-05";
7 src = fetchFromGitHub {
8 owner = "marlonrichert";
10 rev = "4a8fa599792b6d52eadbb3921880a40872013d28";
11 sha256 = "PI4nvzB/F0mHlc0UZJdD49vjzB6pXhhJYNTSmBhY8iU=";
19 outdir=$out/share/zsh/${pname}
20 install -D zsh-edit.plugin.zsh $outdir/zsh-edit.plugin.zsh
21 install -D _bind $outdir/_bind
22 install -d $outdir/functions
23 install -D functions/{,.edit}* $outdir/functions
27 homepage = "https://github.com/marlonrichert/zsh-edit";
28 description = "Set of powerful extensions to the Zsh command line editor";
29 license = licenses.mit;
30 maintainers = with maintainers; [ deejayem ];
31 platforms = platforms.all;