guix-commits
[Top][All Lists]
Advanced

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

07/14: gnu: Add python-cliff.


From: guix-commits
Subject: 07/14: gnu: Add python-cliff.
Date: Fri, 20 Nov 2020 00:25:33 -0500 (EST)

apteryx pushed a commit to branch master
in repository guix.

commit 762238c4d3210b5102dbe0b03238f74d580e1c68
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Nov 18 15:35:02 2020 -0500

    gnu: Add python-cliff.
    
    * gnu/packages/openstack.scm (python-cliff): New variable.
---
 gnu/packages/openstack.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 57f1937..2239c21 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -73,6 +73,38 @@ and runs appropriate plugins against the AST nodes.  Once 
Bandit has finished
 scanning all the files it generates a report.")
     (license asl2.0)))
 
+(define-public python-cliff
+  (package
+    (name "python-cliff")
+    (version "3.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "cliff" version))
+       (sha256
+        (base32
+         "0n8pzr0mnn9lq2mykds69ij2xrn0fsirh4ndmkx0mzydbx5niysv"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f))
+    (native-inputs
+     `(("python-pbr" ,python-pbr)))
+    (propagated-inputs
+     `(("python-cmd2" ,python-cmd2)
+       ("python-prettytable" ,python-prettytable)
+       ("python-pyparsing" ,python-pyparsing)
+       ("python-pyyaml" ,python-pyyaml)
+       ("python-bandit" ,python-bandit)
+       ("python-stevedore" ,python-stevedore)))
+    (home-page "https://opendev.org/openstack/cliff";)
+    (synopsis "Framework for building command line programs")
+    (description "The @code{cliff} framework allows creating multi-level
+commands such as those of @command{subversion} and @command{git}, where the
+main program handles some basic argument parsing and then invokes a
+sub-command to do the work.  It uses plugins to define sub-commands, output
+formatters, and other extensions.")
+    (license asl2.0)))
+
 (define-public python-debtcollector
   (package
     (name "python-debtcollector")



reply via email to

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