From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fi2Pn-0001VK-9b for guix-patches@gnu.org; Tue, 24 Jul 2018 14:52:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fi2Pj-0002zP-BN for guix-patches@gnu.org; Tue, 24 Jul 2018 14:52:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:50769) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fi2Pj-0002yd-5C for guix-patches@gnu.org; Tue, 24 Jul 2018 14:52:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fi2Pi-0005b5-TN for guix-patches@gnu.org; Tue, 24 Jul 2018 14:52:02 -0400 Subject: [bug#32263] [PATCH 2/8] gnu: Add python-pyperclip. Resent-Message-ID: From: Efraim Flashner Date: Tue, 24 Jul 2018 21:51:09 +0300 Message-Id: <20180724185115.19376-2-efraim@flashner.co.il> In-Reply-To: <20180724185115.19376-1-efraim@flashner.co.il> References: <20180724184847.19178-1-efraim@flashner.co.il> <20180724185115.19376-1-efraim@flashner.co.il> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 32263@debbugs.gnu.org Cc: Efraim Flashner * gnu/packages/xdisorg.scm (python-pyperclip): New variable. --- gnu/packages/xdisorg.scm | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 2a8958d37..34cf1c924 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -11,7 +11,7 @@ ;;; Copyright © 2015 Florian Paul Schmidt ;;; Copyright © 2016 Christopher Allan Webber ;;; Copyright © 2016 Ricardo Wurmus -;;; Copyright © 2016, 2017 Efraim Flashner +;;; Copyright © 2016, 2017, 2018 Efraim Flashner ;;; Copyright © 2016 Leo Famulari ;;; Copyright © 2016 Alex Kost ;;; Copyright © 2016, 2017 Marius Bakke @@ -1476,3 +1476,27 @@ first. Additionally, xss-lock uses the inhibition logic to lock the screen before the system goes to sleep.") (home-page "https://bitbucket.org/raymonad/xss-lock") (license license:expat)))) + +(define-public python-pyperclip + (package + (name "python-pyperclip") + (version "1.6.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pyperclip" version)) + (sha256 + (base32 + "1p505c23ji06r28k1y67siihsbdzdf1brhlqpyv9ams4gk9863pp")))) + (build-system python-build-system) + (arguments + '(#:tests? #f)) ; Not clear how to make tests pass. + (inputs + `(("xclip" ,xclip) + ("xsel" ,xsel))) + (home-page "https://github.com/asweigart/pyperclip") + (synopsis "Python clipboard module") + (description + "Pyperclip is a clipboard module for Python, handling copy and +paste clipboard functions.") + (license license:bsd-3))) -- 2.18.0