guix-commits
[Top][All Lists]
Advanced

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

06/17: gnu: Add python-inquirer.


From: guix-commits
Subject: 06/17: gnu: Add python-inquirer.
Date: Wed, 10 May 2023 12:23:48 -0400 (EDT)

rekado pushed a commit to branch wip-pytorch-lightning
in repository guix.

commit 3ccf58eeb0bb4a31df4b9af882a7549fdefcafd5
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed May 10 15:18:55 2023 +0200

    gnu: Add python-inquirer.
    
    * gnu/packages/machine-learning.scm (python-inquirer): New variable.
---
 gnu/packages/machine-learning.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/machine-learning.scm 
b/gnu/packages/machine-learning.scm
index 40f399495f..5489858d3a 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -3491,6 +3491,33 @@ Actions for the Lightning suite of libraries.")
 characters and key strokes.")
     (license license:expat)))
 
+(define-public python-inquirer
+  (package
+    (name "python-inquirer")
+    (version "3.1.3")
+    ;; Pypi has no tests.
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/magmax/python-inquirer";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0kp6a0535n9ra5sk8bmb5qvhrv0fbn1zawydi0fkb7104jqcfrzc"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs
+     (list python-blessed python-editor python-readchar))
+    (native-inputs
+     (list python-poetry-core python-pexpect python-pytest))
+    (home-page "https://github.com/magmax/python-inquirer";)
+    (synopsis "Collection of common interactive command line user interfaces")
+    (description
+     "Inquirer should ease the process of asking end user questions, parsing,
+validating answers, managing hierarchical prompts and providing error
+feedback.")
+    (license license:expat)))
+
 (define-public python-torchmetrics
   (package
     (name "python-torchmetrics")



reply via email to

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