depot/pkgs/shells/zsh/zsh-clipboard/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

27 lines
739 B
Nix

{ stdenv, lib }:
stdenv.mkDerivation rec {
pname = "zsh-clipboard";
version = "1.0";
dontUnpack = true;
strictDeps = true;
dontBuild = true;
installPhase = ''
install -D -m0444 -T ${./clipboard.plugin.zsh} $out/share/zsh/plugins/clipboard/clipboard.plugin.zsh
'';
meta = with lib; {
description = "Ohmyzsh plugin that integrates kill-ring with system clipboard";
longDescription = ''
Ohmyzsh plugin that integrates kill-ring with system clipboard.
Key bindings for C-y, C-k, C-u, M-d, M-backspace and M-w are rebound.
Behaviour of these keys should not be changed.
'';
license = licenses.mit;
maintainers = with maintainers; [ bb2020 ];
platforms = platforms.unix;
};
}