Skip to content

Commit

Permalink
Merge pull request #112796 from 0qq/init/zsh-system-clipboard
Browse files Browse the repository at this point in the history
zsh-system-clipboard: init at 0.7.0
  • Loading branch information
SuperSandro2000 committed Feb 11, 2021
2 parents aaf5c54 + 5f6dd10 commit b9acb4e
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pkgs/shells/zsh/zsh-system-clipboard/default.nix
@@ -0,0 +1,25 @@
{ stdenv, lib, fetchFromGitHub }:

stdenv.mkDerivation rec {
pname = "zsh-system-clipboard";
version = "0.7.0";

src = fetchFromGitHub {
owner = "kutsan";
repo = "zsh-system-clipboard";
rev = "v${version}";
sha256 = "09lqav1mz5zajklr3xa0iaivhpykv3azkjb7yj9wyp0hq3vymp8i";
};

installPhase = ''
install -D zsh-system-clipboard.zsh $out/share/zsh/${pname}/zsh-system-clipboard.zsh
'';

meta = with lib; {
homepage = "https://github.com/kutsan/zsh-system-clipboard";
description = "A plugin that adds key bindings support for ZLE (Zsh Line Editor) clipboard operations for vi emulation keymaps";
license = licenses.gpl3Only;
maintainers = with maintainers; [ _0qq ];
platforms = platforms.all;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -9262,6 +9262,8 @@ in

zsh-syntax-highlighting = callPackage ../shells/zsh/zsh-syntax-highlighting { };

zsh-system-clipboard = callPackage ../shells/zsh/zsh-system-clipboard { };

zsh-fast-syntax-highlighting = callPackage ../shells/zsh/zsh-fast-syntax-highlighting { };

zsh-fzf-tab = callPackage ../shells/zsh/zsh-fzf-tab { };
Expand Down

0 comments on commit b9acb4e

Please sign in to comment.