nixpkgs-immich/pkgs/shells/zsh/zsh-vi-mode/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
680 B
Nix
Raw Permalink Normal View History

2024-09-17 10:23:40 -06:00
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "zsh-vi-mode";
version = "0.11.0";
src = fetchFromGitHub {
owner = "jeffreytse";
repo = pname;
rev = "v${version}";
sha256 = "sha256-xbchXJTFWeABTwq6h4KWLh+EvydDrDzcY9AQVK65RS8=";
};
strictDeps = true;
dontBuild = true;
installPhase = ''
mkdir -p $out/share/${pname}
cp *.zsh $out/share/${pname}/
'';
meta = with lib; {
homepage = "https://github.com/jeffreytse/zsh-vi-mode";
license = licenses.mit;
description = "Better and friendly vi(vim) mode plugin for ZSH";
maintainers = with maintainers; [ kyleondy ];
platforms = platforms.all;
};
}