From 210bf49754f397e229a4e1a81f8d16a52dcdef7a Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 11 Jan 2016 13:27:31 -0500 Subject: [PATCH] gnu: Add python-texttable. * gnu/packages/python.scm (python-texttable, python2-texttable): New variables. --- gnu/packages/python.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index e1009cc2ca..4081362f2f 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -6657,3 +6657,25 @@ (define-public python-contextlib2 (define-public python2-contextlib2 (package-with-python2 python-contextlib2)) + +(define-public python-texttable + (package + (name "python-texttable") + (version "0.8.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "texttable" version)) + (sha256 + (base32 + "0bkhs4dx9s6g7fpb969hygq56hyz4ncfamlynw72s0n6nqfbd1w5")))) + (build-system python-build-system) + (arguments '(#:tests? #f)) ; no tests + (home-page "https://github.com/foutaise/texttable/") + (synopsis "Python module for creating simple ASCII tables") + (description "Texttable is a Python module for creating simple ASCII +tables.") + (license lgpl2.1+))) + +(define-public python2-texttable + (package-with-python2 python-texttable))