aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-01-16 15:33:57 +0100
committerRicardo Wurmus <rekado@elephly.net>2024-01-16 15:33:57 +0100
commit224f8d543b2f64178a0307c19ffc975d3757248a (patch)
tree5286e3e95cb020e47d4a691ad3896d044076db53 /gnu
parentf4d23718080506a0e3805ed4acbe8ea54d8f8d7f (diff)
downloadguix-224f8d543b2f64178a0307c19ffc975d3757248a.tar.gz
guix-224f8d543b2f64178a0307c19ffc975d3757248a.zip
gnu: Add python-strenum.
* gnu/packages/python-xyz.scm (python-strenum): New variable. Change-Id: I6b6d64024db9358ea0a65cfd6c7cd6f94747de42
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e486a73023..ceab4f0993 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14066,6 +14066,24 @@ almost any existing Python modules, and an easy way for outside developers to
add functionality and customization to your projects with their own plugins.")
(license license:expat)))
+(define-public python-strenum
+ (package
+ (name "python-strenum")
+ (version "0.4.15")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "StrEnum" version))
+ (sha256
+ (base32 "1zrfr1shin5wyfnfxc7jpk013594wasrp4ni9l70fhjlf2mvb3w7"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:tests? #false)) ;there are none.
+ (home-page "https://github.com/irgeek/StrEnum")
+ (synopsis "Enum that inherits from str")
+ (description "StrEnum is a Python @code{enum.Enum} that inherits from
+@code{str} to complement @code{enum.IntEnum} in the standard library.")
+ (license license:expat)))
+
(define-public python-pysendfile
(package
(name "python-pysendfile")