summaryrefslogtreecommitdiff
path: root/gnu/packages/wxwidgets.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-12-13 17:18:24 +0100
committerLudovic Courtès <ludo@gnu.org>2021-12-13 17:48:25 +0100
commit8394619baceb118df92e355377fd543bb1aa501a (patch)
tree504f07c2a9f88596a305b59ef45f941062426a52 /gnu/packages/wxwidgets.scm
parentaca2defe0172868295941fd9f0e97886f6e9b2d4 (diff)
downloadguix-patches-8394619baceb118df92e355377fd543bb1aa501a.tar
guix-patches-8394619baceb118df92e355377fd543bb1aa501a.tar.gz
gnu: Simplify package inputs.
This commit was obtained by running: ./pre-inst-env guix style without any additional argument.
Diffstat (limited to 'gnu/packages/wxwidgets.scm')
-rw-r--r--gnu/packages/wxwidgets.scm30
1 files changed, 11 insertions, 19 deletions
diff --git a/gnu/packages/wxwidgets.scm b/gnu/packages/wxwidgets.scm
index 475b5efe15..17765327bc 100644
--- a/gnu/packages/wxwidgets.scm
+++ b/gnu/packages/wxwidgets.scm
@@ -79,7 +79,7 @@
("shared-mime-info" ,shared-mime-info)
("xdg-utils" ,xdg-utils)))
(native-inputs
- `(("pkg-config" ,pkg-config)))
+ (list pkg-config))
(arguments
`(#:configure-flags
'("--with-regex" "--with-libmspack"
@@ -173,9 +173,8 @@ and many other languages.")
(sha256
(base32
"14kl1rsngm70v3mbyv1mal15iz2b18k97avjx8jn7s81znha1c7f"))))
- (inputs `(("gstreamer" ,gstreamer)
- ("gst-plugins-base" ,gst-plugins-base)
- ,@(package-inputs wxwidgets)))
+ (inputs (modify-inputs (package-inputs wxwidgets)
+ (prepend gstreamer gst-plugins-base)))
(arguments
(substitute-keyword-arguments (package-arguments wxwidgets)
((#:configure-flags flags)
@@ -231,15 +230,11 @@ and many other languages.")
(("'build']") "'build_py', '--use_syswx']"))
#t)))))
(inputs
- `(("gtk+" ,gtk+)
- ("wxwidgets" ,wxwidgets)))
+ (list gtk+ wxwidgets))
(native-inputs
- `(("pkg-config" ,pkg-config)
- ("python-waf" ,python-waf)))
+ (list pkg-config python-waf))
(propagated-inputs
- `(("python-numpy" ,python-numpy)
- ("python-pillow" ,python-pillow)
- ("python-six" ,python-six)))
+ (list python-numpy python-pillow python-six))
(home-page "https://wxpython.org/")
(synopsis "Cross platform GUI toolkit for Python")
(description "wxPython is a cross-platform GUI toolkit for the Python
@@ -312,8 +307,8 @@ provide a 100% native look and feel for the application.")
(close-pipe port))
#t)))))
(native-inputs
- `(("mesa" ,mesa) ; for glcanvas
- ("pkg-config" ,pkg-config)))
+ (list mesa ; for glcanvas
+ pkg-config))
(inputs
`(("gtk+" ,gtk+-2) ; for wxPython/src/helpers.cpp
("wxwidgets" ,wxwidgets-gtk2)))
@@ -335,15 +330,12 @@ provide a 100% native look and feel for the application.")
(base32 "0agmmwg0zlsw1idygvqjpj1nk41akzlbdha0hsdk1k8ckz6niq8d"))))
(build-system glib-or-gtk-build-system)
(inputs
- `(("wxwidgets" ,wxwidgets-3.1)
- ("cairo" ,cairo)
- ("ffmpeg" ,ffmpeg)))
+ (list wxwidgets-3.1 cairo ffmpeg))
(native-inputs
- `(("pkg-config" ,pkg-config)))
+ (list pkg-config))
(propagated-inputs
;; In Requires.private of libwxsvg.pc.
- `(("libexif" ,libexif)
- ("pango" ,pango)))
+ (list libexif pango))
(synopsis "C++ library to create, manipulate and render SVG files")
(description "wxSVG is a C++ library to create, manipulate and render
@dfn{Scalable Vector Graphics} (SVG) files with the wxWidgets toolkit.")