Subject: [PATCH 1/3] gnu: Add python2-urlgrabber

From: Tomáš Čech <[email-masked]>
Date: Tue, 10 Apr 2018 11:24:25 +0200

* gnu/packages/python.scm (python2-urlgrabber): New variable.
---
 gnu/packages/python.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e5b74a57f..e728cbaa9 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13127,3 +13127,24 @@ file system events on Linux.")
     (description "Pybtex is a BibTeX-compatible bibliography processor written
 in Python.  You can simply type pybtex instead of bibtex.")
     (license license:expat)))
+
+(define-public python2-urlgrabber
+  (package
+    (name "python2-urlgrabber")
+    (version "3.10.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "urlgrabber" version))
+       (sha256
+        (base32
+         "0w1h7hlsq406bxfy2pn4i9bd003bwl0q9b7p03z3g6yl0d21ddq5"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:python ,python-2))
+    (home-page "http://urlgrabber.baseurl.org")
+    (synopsis "A high-level cross protocol url-grabber")
+    (description "URL grabber library unifying http://, ftp:// and file://
+protocols access, supporting HTTP keepalive, reget, throttling and other
+convenience features.")
+    (license license:lgpl2.1)))
-- 
2.17.0