base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / zs / zsh-edit / package.nix
blobb1ca81e30ce854ca31e839029640121e975358ab
1 { stdenv, lib, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
4   pname = "zsh-edit";
5   version = "unstable-2022-05-05";
7   src = fetchFromGitHub {
8     owner = "marlonrichert";
9     repo = "zsh-edit";
10     rev = "4a8fa599792b6d52eadbb3921880a40872013d28";
11     sha256 = "PI4nvzB/F0mHlc0UZJdD49vjzB6pXhhJYNTSmBhY8iU=";
12   };
14   strictDeps = true;
16   dontBuild = true;
18   installPhase = ''
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
24   '';
26   meta = with lib; {
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;
32   };