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>
This commit is contained in:
Grigory Shepelev 2025-04-04 10:14:18 +03:00 committed by Sharlatan Hellseher
parent 7284e0967a
commit c245020b54
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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")