aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/python.scm
diff options
context:
space:
mode:
authorMuriithi Frederick Muriuki <fredmanglis@gmail.com>2017-03-26 12:23:35 +0300
committerLeo Famulari <leo@famulari.name>2017-03-28 15:59:22 -0400
commiteec21d4be7f200d227d8ed9dfb2168bdff2d43d2 (patch)
tree5433c28e0f39e03ffa1880b180f52c47c3f66a90 /gnu/packages/python.scm
parent5d0c3ba856e39be207debdf5091b4431dd726273 (diff)
downloadguix-eec21d4be7f200d227d8ed9dfb2168bdff2d43d2.tar
guix-eec21d4be7f200d227d8ed9dfb2168bdff2d43d2.tar.gz
gnu: Add python-mando
* gnu/packages/python.scm (python-mando, python2-mando): New variables. Signed-off-by: Leo Famulari <leo@famulari.name>
Diffstat (limited to 'gnu/packages/python.scm')
-rw-r--r--gnu/packages/python.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index de459e5b31..ec80cf13ca 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13940,3 +13940,31 @@ recognize TestCases.")
(define-public python2-python-paramunittest
(package-with-python2 python-paramunittest))
+
+(define-public python-mando
+ (package
+ (name "python-mando")
+ (version "0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "mando" version))
+ (sha256
+ (base32
+ "0q05h66439gqdmlk4jqm6xrwrzfdgs4mwk70barxhr2y83qbbdc0"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-rst2ansi" ,python-rst2ansi)))
+ (native-inputs
+ `(("python-sphinx" ,python-sphinx-1.5.3)
+ ("python-paramunittest" ,python-paramunittest)))
+ (home-page "https://mando.readthedocs.org/")
+ (synopsis
+ "Wrapper around argparse, allowing creation of complete CLI applications")
+ (description
+ "This package is a wrapper around argparse, allowing you to write complete CLI
+ applications in seconds while maintaining all the flexibility.")
+ (license license:expat)))
+
+(define-public python2-mando
+ (package-with-python2 python-mando))