diff options
author | Sören Tempel <soeren@soeren-tempel.net> | 2024-09-27 20:34:56 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-10-07 12:51:23 +0200 |
commit | 7118e5fe6f4ef35b972f98fd1bacc2583e87b561 (patch) | |
tree | 5077686d0f20281154e6dde2585b257d523d09f4 /gnu/packages/emulators.scm | |
parent | 242615ce3de005b0768ea8270b1123d47560cb45 (diff) |
gnu: Add python-backports-strenum.
* gnu/packages/python-xyz.scm (python-backports-strenum): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/emulators.scm')
-rw-r--r-- | gnu/packages/emulators.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 758fdd8d45..937ddea163 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -96,6 +96,7 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) + #:use-module (gnu packages python-build) #:use-module (gnu packages qt) #:use-module (gnu packages sdl) #:use-module (gnu packages sphinx) @@ -3846,6 +3847,30 @@ and offers an intuitive architecture-neutral API for interacting with assembly for these architectures.") (license license:gpl2))) +;; can be removed once Guix upgrades to Python 3.11. +(define-public python-backports-strenum + (package + (name "python-backports-strenum") + (version "1.3.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "backports_strenum" version)) + (sha256 + (base32 "0514yj1391k6pbs2cch6i57hidwb3236wngh2ivlk6186h3j9ibp")))) + (native-inputs (list python-poetry-core)) + (build-system pyproject-build-system) + ;; TODO: Running tests requires a new version of poetry in Guix. + (arguments + (list + #:tests? #f)) + (home-page "https://github.com/clbarnes/backports.strenum") + (synopsis "Backport of additions to the 'strenum' module") + (description + "Provides a backport of Python's @code{StrEnum} class which was introduced in +Python 3.11 for Python >=3.8.6.") + (license license:expat))) + (define-public python-archinfo (package (name "python-archinfo") |