* gnu/packages/python.scm (python-dulwich-0.9.9): New variable.
---
 gnu/packages/python.scm | 31 ++++++++++++++++++++++++++++++-
 1 file changed, 30 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 67b35aa..37a8010 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -23,7 +23,7 @@
 ;;; Copyright © 2016 Daniel Pimentel <d...@d4n1.org>
 ;;; Copyright © 2016 Sou Bunnbu <iyzs...@gmail.com>
 ;;; Copyright © 2016 Troy Sankey <sankey...@gmail.com>
-;;; Copyright © 2016 ng0 <n...@we.make.ritual.n0.is>
+;;; Copyright © 2016 ng0 <ngillm...@runbox.com>
 ;;; Copyright © 2016 Dylan Jeffers <sapientech@sapient...@openmailbox.org>
 ;;; Copyright © 2016 David Craven <da...@craven.ch>
 ;;; Copyright © 2016 Marius Bakke <mba...@fastmail.com>
@@ -728,6 +728,35 @@ Optional C extensions can be built for improved 
performance.")
     (native-inputs
      `(("python2-setuptools" ,python2-setuptools)))))
 
+;; kallithea-0.3.2 needs dulwich-0.9.9
+(define-public python-dulwich-0.9.9
+  (package
+    (inherit python-dulwich)
+    (name "python-dulwich-0.9.9")
+    (version "0.9.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://dulwich.io/releases/dulwich-"; version 
".tar.gz"))
+       (sha256
+        (base32
+         "15l45063rpb5jn2c5b4x82fcjdg7p1bxnj9jh810032diln7ckh8"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f)) ; swift module not yet ported to python3, 5 tests fail
+    (inputs
+     `(("python-mock" ,python-mock)
+       ("python-gevent" ,python-gevent)
+       ("python-geventhttpclient" ,python-geventhttpclient)
+       ("python-fastimport" ,python-fastimport)))))
+
+(define-public python2-dulwich-0.9.9
+  (package
+    (inherit (package-with-python2
+              (strip-python2-variant python-dulwich-0.9.9)))
+    (native-inputs
+     `(("python2-setuptools" ,python2-setuptools)))))
+
 (define-public python-h5py
   (package
     (name "python-h5py")
-- 
2.10.0


Reply via email to