From eec21d4be7f200d227d8ed9dfb2168bdff2d43d2 Mon Sep 17 00:00:00 2001 From: Muriithi Frederick Muriuki Date: Sun, 26 Mar 2017 12:23:35 +0300 Subject: [PATCH] gnu: Add python-mando * gnu/packages/python.scm (python-mando, python2-mando): New variables. Signed-off-by: Leo Famulari --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) 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))