Added python2-qrcode.
--
Daniel Pimentel (aka d4n1)
From 3a9c7b2ed591a32ff7d8b40f1b24ee51f8350577 Mon Sep 17 00:00:00 2001
From: Daniel Pimentel <d...@d4n1.org>
Date: Tue, 14 Jun 2016 16:23:41 -0300
Subject: [PATCH 3/3] gnu: Add python2-qrcode
---
gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c9ac1f1..efdce9a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9058,3 +9058,29 @@ new (proposed) 2.0 spec, which includes batch submission, keyword arguments,
"This module implements the password-based key derivation function,
PBKDF2, specified in RSA PKCS#5 v2.0.")
(license license:expat)))
+
+(define-public python2-qrcode
+ (package
+ (name "python2-qrcode")
+ (version "5.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://pypi.python.org/packages/source/q/qrcode/qrcode-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0skzrvhjnnacrz52jml4i050vdx5lfcd3np172srxjaghdgfxg9k"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ("python2-pillow" ,python2-pillow)
+ ("python2-six" ,python2-six)))
+ (arguments
+ `(#:python ,python-2)) ; only Python 2.7 is supported
+ (home-page "https://pypi.python.org/pypi/qrcode")
+ (synopsis "Python library to generate QR Codes")
+ (description
+ "Python library that uses image libraries, Python Imaging Library (PIL)
+by default, to generate QR Codes.")
+ (license license:expat)))
--
2.7.4