* gnu/packages/python.scm (python-cmd2, python2-cmd2): New variables. --- gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 99d1d3e..11ad08d 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -8693,3 +8693,34 @@ respectively.") (define-public python2-cysignals (package-with-python2 python-cysignals)) +(define-public python-cmd2 + (package + (name "python-cmd2") + (version "0.6.8") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/20/65/" + "6e5518c6bbfe9fe33be1364a6e83d372f837019dfdb31b207b2db3d84865/" + "cmd2-" version ".tar.gz")) + (sha256 + (base32 + "1a346zcd46c8gwbbp2cxsmvgfkyy26kwxjzdnkv7n47w6660sy5c")))) + (build-system python-build-system) + (native-inputs + `(("python-setuptools" ,python-setuptools))) + (inputs + `(("python-pyparsing" ,python-pyparsing))) + (home-page "https://github.com/python-cmd2/cmd2") + (synopsis + "Extra features for standard library's cmd module") + (description + "Drop-in replacement for the standard library's cmd module that adds +features such as multiline commands, case-insensitive commands or a +searchable history.") + (license expat))) + +(define-public python2-cmd2 + (package-with-python2 python-cmd2)) + -- 2.6.2