1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: Add python-exitcode.

* gnu/packages/python-xyz.scm (python-exitcode): New variable.

Change-Id: Id1bf46af21ac5f5dc148b8b9682a552b053a578b
This commit is contained in:
Sharlatan Hellseher
2025-10-06 01:54:45 +01:00
parent 33869065ea
commit 8aeb675dca

View File

@@ -804,6 +804,30 @@ implemented in pure Python, and most of them are also implemented in C.")
packaging tasks.")
(license license:expat)))
(define-public python-exitcode
(package
(name "python-exitcode")
(version "0.1.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "exitcode" version))
(sha256
(base32 "01yybyi4pkvvf4382p28gh4lkxrcyl5vcx2xk95nbsb8011f37mw"))))
(build-system pyproject-build-system)
(arguments
(list #:tests? #f)) ; no tests in PyPI or Git
(native-inputs
(list python-poetry-core
python-setuptools))
(home-page "https://github.com/rumpelsepp/exitcode")
(synopsis "Preferred system exit codes as defined by sysexits.h")
(description
"This package implements a preferred system exit codes as defined by
@url{https://man.openbsd.org/sysexits, sysexits.h}. This library is inspired by
Rust's @url{https://docs.rs/exitcode, exitcode}.")
(license license:expat)))
(define-public python-fastnumbers
(package
(name "python-fastnumbers")