unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add docopt.
@ 2015-12-03  6:24 Kyle Meyer
  2015-12-03 19:31 ` Leo Famulari
  2015-12-04  9:51 ` [PATCH] gnu: Add docopt Ricardo Wurmus
  0 siblings, 2 replies; 6+ messages in thread
From: Kyle Meyer @ 2015-12-03  6:24 UTC (permalink / raw)
  To: guix-devel; +Cc: Kyle Meyer

* gnu/packages/python.scm (python-docopt, python2-docopt): New
  variables.
---
 gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 45222e9..5b31ae8 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5994,3 +5994,29 @@ automatically detect a wide range of file encodings.")
 
 (define-public python2-chardet
   (package-with-python2 python-chardet))
+
+(define-public python-docopt
+  (package
+    (name "python-docopt")
+    (version "0.6.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "docopt" version))
+       (sha256
+        (base32
+         "14f4hn6d1j4b99svwbaji8n2zj58qicyz19mm0x6pmhb50jsics9"))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-setuptools" ,python-setuptools)))
+    (arguments '(#:tests? #f))   ; Tests are not included in the PyPI release.
+    (home-page "http://docopt.org")
+    (synopsis "Command-line interface description language for Python")
+    (description "This library allows the user to define a command-line
+interface from a program's help message rather than specifying it
+programatically with command-line parsers like @code{getopt} and
+@code{argparse}.")
+    (license license:expat)))
+
+(define-public python2-docopt
+  (package-with-python2 python-docopt))
-- 
2.6.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-12-06 21:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-03  6:24 [PATCH] gnu: Add docopt Kyle Meyer
2015-12-03 19:31 ` Leo Famulari
2015-12-03 23:17   ` Kyle Meyer
2015-12-05  7:11     ` [PATCH v2] gnu: Add python-docopt Kyle Meyer
2015-12-06 21:40       ` Ludovic Courtès
2015-12-04  9:51 ` [PATCH] gnu: Add docopt Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).