From f844c8755dce3a53b0ad2a8a7200491fee7d98e0 Mon Sep 17 00:00:00 2001 From: Eric Dvorsak Date: Sat, 25 Jul 2015 21:36:51 +0200 Subject: [PATCH 4/8] gnu: Add python-httplib2. * gnu/packages/python.scm (python-httplib2, python-httplib2): New variables. --- gnu/packages/python.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 76eaafd..400b3f3 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -297,6 +297,33 @@ pidof, tty, taskset, pmap.") (define-public python2-psutil (package-with-python2 python-psutil)) +(define-public python-httplib2 + (package + (name "python-httplib2") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/h/httplib2/httplib2-" + version + ".tar.gz")) + (sha256 + (base32 + "1xc3clbrf77r0600kja71j7hk1218sjiq0gfmb8vjdajka8kjqxw")))) + (build-system python-build-system) + (native-inputs + `(("python-setuptools" ,python-setuptools))) + (home-page + "https://github.com/jcgregorio/httplib2") + (synopsis "Comprehensive HTTP client library") + (description + "A comprehensive HTTP client library supporting many features left out of other HTTP libraries.") + (license license:expat))) + +(define-public python2-httplib2 + (package-with-python2 python-httplib2)) + (define-public python-ecdsa (package (name "python-ecdsa") -- 2.4.3