gnu: python-pygame-sdl2: Use G-Expressions.

* gnu/packages/game-development.scm (python-pygame-sdl2)[arguments]: Convert
to list of G-Expressions.
This commit is contained in:
Liliana Marie Prikler 2023-05-19 12:13:40 +02:00
parent 12fcdbd409
commit 1b3c9ef96e
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -1298,9 +1298,10 @@ (define-public python-pygame-sdl2
(delete-file-recursively "gen-static"))))) (delete-file-recursively "gen-static")))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:tests? #f ; tests require pygame to be installed first (list
#:tests? #f ; tests require pygame to be installed first
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'set-paths 'set-sdl-vars (add-after 'set-paths 'set-sdl-vars
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(setenv "PYGAME_SDL2_CFLAGS" (setenv "PYGAME_SDL2_CFLAGS"
@ -1312,8 +1313,7 @@ (define-public python-pygame-sdl2
(assoc-ref inputs "sdl-union") (assoc-ref inputs "sdl-union")
"/lib -Wl,-rpath," "/lib -Wl,-rpath,"
(assoc-ref inputs "sdl-union") (assoc-ref inputs "sdl-union")
"/lib -Wl,--enable-new-dtags -lSDL2")) "/lib -Wl,--enable-new-dtags -lSDL2")))))))
#t)))))
(inputs (inputs
(list (sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf)))) (list (sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf))))
(native-inputs (native-inputs