gnu: Add python-grequests.

* gnu/packages/python-web.scm (python-grequests): New variable.
This commit is contained in:
Ricardo Wurmus 2018-09-24 16:20:19 +02:00
parent 53c64d7c93
commit d08b325843
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 24 additions and 1 deletions

View File

@ -5,7 +5,7 @@
;;; Copyright © 2016, 2017 Danny Milosavljevic <dannym+a@scratchpost.org>
;;; Copyright © 2013, 2014, 2015, 2016 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015, 2016, 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017 Roel Janssen <roel@gnu.org>
;;; Copyright © 2016, 2017 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2016, 2017 Nils Gillmann <ng0@n0.is>
@ -1592,6 +1592,29 @@ library.")
(define-public python2-responses
(package-with-python2 python-responses))
(define-public python-grequests
(package
(name "python-grequests")
(version "0.3.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "grequests" version))
(sha256
(base32
"1j9icncllbkv7x5719b20mx670c6q1jrdx1sakskkarvx3pc8h8g"))))
(build-system python-build-system)
(propagated-inputs
`(("python-gevent" ,python-gevent)
("python-requests" ,python-requests)))
(native-inputs
`(("python-nose" ,python-nose)))
(home-page "https://github.com/kennethreitz/grequests")
(synopsis "Python library for asynchronous HTTP requests")
(description "GRequests is a Python library that allows you to use
@code{Requests} with @code{Gevent} to make asynchronous HTTP Requests easily")
(license license:bsd-2)))
(define-public python-geventhttpclient
(package
(name "python-geventhttpclient")