summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrigory Shepelev <shegeley@gmail.com>2025-04-04 10:14:18 +0300
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-06-21 00:26:26 +0100
commitc245020b541dfcf8a190b72816431589690d8f44 (patch)
tree163bed423d964819815fa7fa3c9234e8672f4ac4
parent7284e0967aecf3c6fd2748677dd37d6e673e1faf (diff)
gnu: Add python-configshell-fb.
* gnu/packages/python-xyz.scm (python-configshell-fb): New variable. Change-Id: I482fa182ba1f67ce24b5652c4c3b879f40f3caeb Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-xyz.scm37
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 501e57b485..a60f4b0249 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16798,6 +16798,43 @@ functionalities with some extras.")
pseudo terminal (pty), and interact with both the process and its pty.")
(license license:isc)))
+(define-public python-configshell-fb
+ (package
+ (name "python-configshell-fb")
+ (version "1.1.30")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "configshell-fb" version))
+ ;; XXX: Snippet below is required because on v1.1.30 the source code
+ ;; has configshell_fb as softlink to configshell and guix
+ ;; pyproject-build-system doesn't work with symlinks very well.
+ ;;
+ ;; This package is only used in spdk for now and it's crucial to keep
+ ;; it locked on version and keep the snipped for spdk to build
+ ;; successfully.
+ (snippet #~(begin
+ (use-modules (guix build utils))
+ (delete-file "setup.py")
+ (delete-file-recursively "configshell_fb")
+ (rename-file "configshell" "configshell_fb")))
+ (sha256
+ (base32 "1zkhf62qsfcbxwzlc62r6qx37wwyscppc469rlm45zy9lzmbgxj1"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:tests? #f)) ;; this package has no tests
+ (native-inputs
+ (list python-setuptools
+ python-six
+ python-wheel))
+ (propagated-inputs
+ (list python-pyparsing))
+ (home-page "https://github.com/open-iscsi/configshell-fb")
+ (synopsis "Framework to implement simple but nice CLIs")
+ (description
+ "This package provides a framework to implement simple but nice CLIs.")
+ (license license:asl2.0)))
+
(define-public python-crccheck
(package
(name "python-crccheck")