all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: guy fleury iteriteka <gfleury@disroot.org>
To: 42200@debbugs.gnu.org
Subject: [bug#42200] [PATCH 2/3] gnu: Add python-cli-helpers.
Date: Sat,  4 Jul 2020 21:31:41 +0200	[thread overview]
Message-ID: <20200704193142.31083-2-gfleury@disroot.org> (raw)
In-Reply-To: <20200704193142.31083-1-gfleury@disroot.org>

* gnu/packages/python-xyz.scm(python-cli-helpers): New variable.
---
 gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f09c31a..4a60627 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20423,3 +20423,35 @@ For the most part it's transliterated from C, the major differences are:
      "This package makes easy to draw tables in terminal/console applications
 from a list of lists of strings.  It Supports multi-line rows.")
     (license license:expat)))
+
+(define-public python-cli-helpers
+  (package
+    (name "python-cli-helpers")
+    (version "2.0.1")
+    (source
+      (origin
+        ;; There's no source tarball on PyPI.
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/dbcli/cli_helpers.git")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+        (sha256
+          (base32
+            "1bg2iw9l5dip0kbs00hajdk2v18wvhssbnq8hdf71278qf0wks5l"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (propagated-inputs
+     `(("python-wcwidth" ,python-wcwidth)
+       ("python-configobj" ,python-configobj)
+       ("python-tabulate" ,python-tabulate)
+       ("python-terminaltables" ,python-terminaltables)))
+    (home-page "https://github.com/dbcli/cli_helpers")
+    (synopsis "Helpers for building command-line apps")
+    (description
+     "CLI Helpers is a Python package that makes it easy to perform common
+tasks when building command-line apps.  It's a helper library for command-line
+interfaces.")
+    (license license:bsd-3)))
+
-- 
2.25.1





  reply	other threads:[~2020-07-04 19:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-04 19:31 [bug#42201] [PATCH 1/3] gnu: Add python-terminaltables guy fleury iteriteka
2020-07-04 19:31 ` guy fleury iteriteka [this message]
2020-07-25 18:46   ` bug#42200: [PATCH 2/3] gnu: Add python-cli-helpers Oleg Pykhalov
2020-07-04 19:31 ` [bug#42202] [PATCH 3/3] gnu: Add mycli guy fleury iteriteka
2020-07-25 18:45   ` bug#42202: " Oleg Pykhalov
2020-07-08 10:56 ` bug#42201: [PATCH 1/3] gnu: Add python-terminaltables Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200704193142.31083-2-gfleury@disroot.org \
    --to=gfleury@disroot.org \
    --cc=42200@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.