From 9d1501437dbf07f3e273a6d83afa0afc740d8f63 Mon Sep 17 00:00:00 2001 From: Philipp Steinpass Date: Tue, 9 Feb 2016 12:38:09 +0100 Subject: [PATCH] Added perl packages that allow kpcli to work with xclip, squashed fixes. --- pkgs/tools/security/kpcli/default.nix | 2 +- pkgs/top-level/perl-packages.nix | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/security/kpcli/default.nix b/pkgs/tools/security/kpcli/default.nix index 58ea52bc4c08..7303db34649d 100644 --- a/pkgs/tools/security/kpcli/default.nix +++ b/pkgs/tools/security/kpcli/default.nix @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { wrapProgram $out/bin/kpcli --set PERL5LIB \ "${with perlPackages; stdenv.lib.makePerlPath [ - Clone CryptRijndael SortNaturally TermReadKey TermShellUI FileKeePass TermReadLineGnu XMLParser + CaptureTiny Clipboard Clone CryptRijndael SortNaturally TermReadKey TermShellUI FileKeePass TermReadLineGnu XMLParser ]}" ''; diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index b58a6b834e05..496d11402634 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -1898,6 +1898,19 @@ let self = _self // overrides; _self = with self; { }; }; + Clipboard = buildPerlPackage { + name = "Clipboard-0.13"; + src = fetchurl { + url = mirror://cpan/authors/id/K/KI/KING/Clipboard-0.13.tar.gz; + sha256 = "eebf1c9cb2484be850abdae017147967cf47f8ccd99293771517674b0046ec8a"; + }; + meta = { + description = "Clipboard - Copy and Paste with any OS"; + license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; + }; + }; + + Clone = buildPerlPackage rec { name = "Clone-0.38"; src = fetchurl {