* gnu/packages/python.scm (python-urlobject-2.3.4): New variable.
---
 gnu/packages/python.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index a5de01e..12da100 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1660,6 +1660,25 @@ standard library.")
       (inherit base)
       (inputs `(("python2-setuptools" ,python2-setuptools))))))
 
+;; kallithea-0.3.2 needs this
+(define-public python-urlobject-2.3.4
+  (package
+    (inherit python-urlobject)
+    (version "2.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "URLObject" version))
+       (sha256
+        (base32
+         "0mq4vy80xgvivh7zikf50awi5mw0pi601740bz0m8lnanlnrh85k"))))))
+
+(define-public python2-urlobject-2.3.4
+  (let ((base (package-with-python2 (strip-python2-variant 
python-urlobject-2.3.4))))
+    (package
+      (inherit base)
+      (inputs `(("python2-setuptools" ,python2-setuptools))))))
+
 (define-public python-py
   (package
     (name "python-py")
-- 
2.10.0


Reply via email to