guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: gnu: Add python2-argparse.


From: guix-commits
Subject: 03/03: gnu: Add python2-argparse.
Date: Wed, 13 Mar 2019 12:11:31 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 70daf82f2835fbcb9da61818a167c302ec6c0512
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Mar 13 17:11:09 2019 +0100

    gnu: Add python2-argparse.
    
    * gnu/packages/python-xyz.scm (python2-argparse): New variable.
---
 gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1f48c33..8be5f39 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11649,6 +11649,27 @@ applications in seconds while maintaining all the 
flexibility.")
 (define-public python2-mando
   (package-with-python2 python-mando))
 
+(define-public python2-argparse
+  (package
+    (name "python2-argparse")
+    (version "1.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "argparse" version))
+       (sha256
+        (base32
+         "1r6nznp64j68ih1k537wms7h57nvppq0szmwsaf99n71bfjqkc32"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:python ,python-2))
+    (home-page "https://github.com/ThomasWaldmann/argparse/";)
+    (synopsis "Python command-line parsing library")
+    (description
+     "This package is mostly for people who want to have @code{argparse} on
+older Pythons because it was not part of the standard library back then.")
+    (license license:psfl)))
+
 (define-public python-fudge
   (package
     (name "python-fudge")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]