all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ng0 <ng0@we.make.ritual.n0.is>
To: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add python2-qrcode
Date: Tue, 14 Jun 2016 19:51:01 +0000	[thread overview]
Message-ID: <20160614195101.GA32427@khazad-dum> (raw)
In-Reply-To: <37a4098c2f54e331321179bc1dca5a59@d4n1.org>

[-- Attachment #1: Type: text/plain, Size: 2225 bytes --]

On 2016-06-14(04:26:08PM-0300), Daniel Pimentel wrote:
> Added python2-qrcode.
>
> --
> Daniel Pimentel (aka d4n1)

> From 3a9c7b2ed591a32ff7d8b40f1b24ee51f8350577 Mon Sep 17 00:00:00 2001
> From: Daniel Pimentel <d4n1@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-"

Could you use https://pypi.python.org/packages/source/q/qrcode/qrcode-"
instead of the http uri?

> +                    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
>

Otherwise it looks good to me. I can't run it because I'm running and testing
something myself.

thanks,
--
♥Ⓐ ng0
For non-prism friendly talk find me on
psyced.org / loupsycedyglgamf.onion

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

  reply	other threads:[~2016-06-14 19:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-14 19:26 [PATCH] gnu: Add python2-qrcode Daniel Pimentel
2016-06-14 19:51 ` ng0 [this message]
2016-06-14 20:00   ` [PATCH] gnu: Update python2-qrcode Daniel Pimentel
2016-06-14 21:12     ` ng0
2016-06-14 21:48       ` d4n1
2016-06-15 13:12         ` Andreas Enge
2016-06-16 12:14     ` [PATCH] gnu: Update python2-qrcode (refactored) Daniel Pimentel
2016-06-16 22:08       ` Ben Woodcroft
2016-06-17 23:40         ` [PATCH 2/2] gnu: Update python2-qrcode Daniel Pimentel
2016-06-18  5:31           ` Ben Woodcroft
2016-06-23 16:14             ` Daniel Pimentel
2016-06-23 16:41               ` [PATCH] gnu: Add python2-qrcode Daniel Pimentel
2016-06-23 23:45                 ` Ben Woodcroft
2016-06-17 23:47       ` [PATCH 2/2] gnu: Update python2-qrcode Daniel Pimentel

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

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

  git send-email \
    --in-reply-to=20160614195101.GA32427@khazad-dum \
    --to=ng0@we.make.ritual.n0.is \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.