From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carlo Zancanaro Subject: [PATCH 2/4] gnu: Add python-qrcode. Date: Tue, 3 Jan 2017 00:32:36 +1100 Message-ID: <20170102133238.17811-3-carlo@zancanaro.id.au> References: <20170102133238.17811-1-carlo@zancanaro.id.au> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cO2jM-00036q-Qv for guix-devel@gnu.org; Mon, 02 Jan 2017 08:32:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cO2jL-00025V-DB for guix-devel@gnu.org; Mon, 02 Jan 2017 08:32:52 -0500 Received: from mail-pg0-x233.google.com ([2607:f8b0:400e:c05::233]:33777) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cO2jL-00025C-7l for guix-devel@gnu.org; Mon, 02 Jan 2017 08:32:51 -0500 Received: by mail-pg0-x233.google.com with SMTP id g1so164949946pgn.0 for ; Mon, 02 Jan 2017 05:32:51 -0800 (PST) Received: from localhost.localdomain (14-200-183-160.static.tpgi.com.au. [14.200.183.160]) by smtp.gmail.com with ESMTPSA id u124sm78466931pgb.6.2017.01.02.05.32.48 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Jan 2017 05:32:49 -0800 (PST) In-Reply-To: <20170102133238.17811-1-carlo@zancanaro.id.au> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/python.scm (python-qrcode, python2-qrcode): New variables. --- gnu/packages/python.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 2841830f0..9afb2f0b1 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -12293,3 +12293,27 @@ function, PBKDF2, specified in RSA PKCS#5 v2.0.") (define-public python2-pbkdf2 (package-with-python2 python-pbkdf2)) + +(define-public python-qrcode + (package + (name "python-qrcode") + (version "5.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "qrcode" version)) + (sha256 + (base32 + "0kljfrfq0c2rmxf8am57333ia41kd0snbm2rnqbdy816hgpcq5a1")))) + (build-system python-build-system) + (propagated-inputs + `(("python-setuptools" ,python-setuptools))) + (home-page + "https://github.com/lincolnloop/python-qrcode") + (synopsis "QR Code image generator") + (description "This module uses image libraries, Python Imaging +Library (PIL) by default, to generate QR Codes.") + (license license:bsd-3))) + +(define-public python2-qrcode + (package-with-python2 python-qrcode)) -- 2.11.0