unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Carlo Zancanaro <carlo@zancanaro.id.au>
To: guix-devel@gnu.org
Subject: [PATCH 2/4] gnu: Add python-qrcode.
Date: Tue,  3 Jan 2017 00:32:36 +1100	[thread overview]
Message-ID: <20170102133238.17811-3-carlo@zancanaro.id.au> (raw)
In-Reply-To: <20170102133238.17811-1-carlo@zancanaro.id.au>

* 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

  parent reply	other threads:[~2017-01-02 13:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-02 13:32 [PATCH 0/4] Add electrum Carlo Zancanaro
2017-01-02 13:32 ` [PATCH 1/4] gnu: Add python-pbkdf2 Carlo Zancanaro
2017-01-02 13:41   ` Hartmut Goebel
2017-01-02 13:46   ` Hartmut Goebel
2017-01-21  4:34   ` Carlo Zancanaro
2017-01-22  5:45     ` 宋文武
2017-01-02 13:32 ` Carlo Zancanaro [this message]
2017-01-02 13:43   ` [PATCH 2/4] gnu: Add python-qrcode Hartmut Goebel
2017-01-21  4:35   ` Carlo Zancanaro
2017-01-22  5:52     ` 宋文武
2017-01-02 13:32 ` [PATCH 3/4] gnu: Add python2-slowaes Carlo Zancanaro
2017-01-21  4:36   ` Carlo Zancanaro
2017-01-22  5:52     ` 宋文武
2017-01-02 13:32 ` [PATCH 4/4] gnu: Add electrum Carlo Zancanaro
2017-01-22 12:12   ` Carlo Zancanaro
2017-01-23 22:57     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170102133238.17811-3-carlo@zancanaro.id.au \
    --to=carlo@zancanaro.id.au \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).