summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-06 01:54:45 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-11 08:18:46 +0100
commit8aeb675dca6a084b055e2cd8b0c1b1e5065b93de (patch)
tree5561b0c7e1d29dec2c40189121a14716e44e0600 /gnu
parent33869065eae10e80e592c7c26302e7eebc3b5803 (diff)
gnu: Add python-exitcode.
* gnu/packages/python-xyz.scm (python-exitcode): New variable. Change-Id: Id1bf46af21ac5f5dc148b8b9682a552b053a578b
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 175f335d2e7..7ed13253118 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -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")