diff mbox

[2/3] gnu: Add python-argcomplete.

Message ID 20161207032000.8120-2-me@tobias.gr
State New
Headers show

Commit Message

Tobias Geerinckx-Rice Dec. 7, 2016, 3:19 a.m. UTC
* gnu/packages/python.scm (argcomplete): New variable.
---
 gnu/packages/python.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

Comments

Tobias Geerinckx-Rice Dec. 7, 2016, 3:22 a.m. UTC | #1
On 07/12/16 04:19, Tobias Geerinckx-Rice wrote:
> * gnu/packages/python.scm (argcomplete): New variable.

s/argcomplete/python-argcomplete/ :-)
Danny Milosavljevic Dec. 7, 2016, 5:19 p.m. UTC | #2
On Wed, 7 Dec 2016 04:22:27 +0100
Tobias Geerinckx-Rice <me@tobias.gr> wrote:

> On 07/12/16 04:19, Tobias Geerinckx-Rice wrote:
> > * gnu/packages/python.scm (argcomplete): New variable.  
> 
> s/argcomplete/python-argcomplete/ :-)
> 

LGTM (with the name change).
Tobias Geerinckx-Rice Dec. 7, 2016, 9:16 p.m. UTC | #3
Danny,

On 07/12/16 18:19, Danny Milosavljevic wrote:
> LGTM (with the name change).

Thanks. I went ahead and added a python2 variant as well.

Kind regards,

T G-R
diff mbox

Patch

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index d624229..fdf6289 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -32,6 +32,7 @@ 
 ;;; Copyright © 2016 Alex Vong <alexvong1995@gmail.com>
 ;;; Copyright © 2016 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2016 Julien Lepiller <julien@lepiller.eu>
+;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -11825,3 +11826,24 @@  the Flask web framework in Python.  It is similar to package
 @code{python-flask-restful} but supports the @code{python-swagger}
 documentation builder.")
     (license license:expat)))
+
+(define-public python-argcomplete
+  (package
+    (name "python-argcomplete")
+    (version "1.7.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "argcomplete" version))
+        (sha256
+          (base32
+            "11bwiw6j0nilgz81xnw6f1npyga3prp8asjqrm87cdr3ria5l03x"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/kislyuk/argcomplete")
+    (synopsis "Shell tab completion for Python argparse")
+    (description "argcomplete provides extensible command line tab completion
+of arguments and options for Python scripts using @code{argparse}.  It's
+particularly useful for programs with many options or sub-parsers that can
+dynamically suggest completions; for example, when browsing resources over the
+network.")
+    (license license:asl2.0)))