diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-12-13 17:18:24 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-12-13 17:48:25 +0100 |
commit | 8394619baceb118df92e355377fd543bb1aa501a (patch) | |
tree | 504f07c2a9f88596a305b59ef45f941062426a52 /gnu/packages/arcan.scm | |
parent | aca2defe0172868295941fd9f0e97886f6e9b2d4 (diff) | |
download | guix-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/arcan.scm')
-rw-r--r-- | gnu/packages/arcan.scm | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/gnu/packages/arcan.scm b/gnu/packages/arcan.scm index 721cd7fd70..c25d64903c 100644 --- a/gnu/packages/arcan.scm +++ b/gnu/packages/arcan.scm @@ -151,8 +151,7 @@ (base32 "0dcxcnqjkyyqdr2yk84mprvkncy5g172kfs6vc4zrkklsbkr8yi2")))))) (native-inputs - `(("pkg-config" ,pkg-config) - ("ruby" ,ruby))) ; For documentation and testing + (list pkg-config ruby)) ; For documentation and testing (home-page "https://arcan-fe.com") (synopsis "Display server, multimedia framework and game engine (egl-dri)") (description "Arcan is a development framework for creating virtually @@ -171,9 +170,9 @@ engine programmable using Lua.") (inherit arcan) (name "arcan-sdl") (inputs - `(("sdl" ,sdl) - ,@(fold alist-delete (package-inputs arcan) - '("libdrm")))) + (modify-inputs (package-inputs arcan) + (delete "libdrm") + (prepend sdl))) (arguments `(,@(ensure-keyword-arguments (package-arguments arcan) @@ -219,11 +218,7 @@ engine programmable using Lua.") ,(string-append "--with-xkb-output=" "/tmp")))) ; FIXME: Copied from xorg (native-inputs - `(("pkg-config" ,pkg-config) - ("autoconf" ,autoconf) - ("automake" ,automake) - ("libtool" ,libtool) - ("util-macros" ,util-macros))) + (list pkg-config autoconf automake libtool util-macros)) (inputs `(("arcan" ,arcan) ("font-util" ,font-util) @@ -251,14 +246,14 @@ as a window under Arcan.") (inherit arcan) (name "arcan-wayland") (native-inputs - `(("pkg-config" ,pkg-config))) + (list pkg-config)) (inputs - `(("arcan" ,arcan) - ("libseccomp" ,libseccomp) - ("libxkbcommon" ,libxkbcommon) - ("mesa" ,mesa) - ("wayland" ,wayland) - ("wayland-protocols" ,wayland-protocols))) + (list arcan + libseccomp + libxkbcommon + mesa + wayland + wayland-protocols)) (arguments `(#:tests? #f #:phases |