Subject: [PATCH 4/4] gnu: Add python-sure

From: Muriithi Frederick Muriuki <[email-masked]>
Date: Sun, 7 May 2017 05:29:43 +0300

* gnu/packages/python.scm (python-sure): New variable.
---
 gnu/packages/python.scm | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 3ae51f0..367e494 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14173,4 +14173,30 @@ for Flask.")
 @item Halstead metrics (all of them)
 @item the Maintainability Index (a Visual Studio metric)
 @end itemize")
-(license license:expat)))
+    (license license:expat)))
+
+(define-public python-sure
+  (package
+    (name "python-sure")
+    (version "1.4.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "sure" version))
+       (sha256
+        (base32
+         "1hiyqnrwwghbjikzkvvdb2rhxnck8dvpjy1lq41fb1xwfzips71r"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-mock" ,python-mock)
+       ("python-six" ,python-six)))
+    (native-inputs
+     `(("python-nose" ,python-nose)))
+    (home-page
+     "http://github.com/gabrielfalcao/sure")
+    (synopsis
+     "Sure is an automated testing library in python for python")
+    (description
+     "Sure is a python library for python that leverages a DSL for writing assertions.
+Sure is heavily inspired by @code{RSpec Expectations} and @code{should.js}")
+    (license license:gpl3)))
-- 
2.10.2