guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: Add python-strenum.


From: guix-commits
Subject: 01/02: gnu: Add python-strenum.
Date: Tue, 16 Jan 2024 09:40:52 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 224f8d543b2f64178a0307c19ffc975d3757248a
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Jan 16 15:33:57 2024 +0100

    gnu: Add python-strenum.
    
    * gnu/packages/python-xyz.scm (python-strenum): New variable.
    
    Change-Id: I6b6d64024db9358ea0a65cfd6c7cd6f94747de42
---
 gnu/packages/python-xyz.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]