gnu: gnome-shell-extension-paperwm: Use new package style.

* gnu/packages/gnome-xyz.scm (gnome-shell-extension-paperwm)[arguments]:
Convert to list of G-Expressions.
[native-inputs]: Drop labels.

Co-authored-by: Justin Veilleux <terramorpha@cock.li>
Co-authored-by: Vivien Kraus <vivien@planete-kraus.eu>
This commit is contained in:
Liliana Marie Prikler 2024-01-21 09:44:33 +01:00
parent 5fa60c3e81
commit ed3aa00249
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -1030,19 +1030,19 @@ It uses ES6 syntax and claims to be more actively maintained than others.")
'(begin (delete-file "schemas/gschemas.compiled"))))) '(begin (delete-file "schemas/gschemas.compiled")))))
(build-system copy-build-system) (build-system copy-build-system)
(arguments (arguments
'(#:install-plan (list
'(("." "share/gnome-shell/extensions/paperwm@paperwm.github.com" #:install-plan
#~'(("." "share/gnome-shell/extensions/paperwm@paperwm.github.com"
#:include-regexp ("\\.js(on)?$" "\\.css$" "\\.ui$" "\\.png$" #:include-regexp ("\\.js(on)?$" "\\.css$" "\\.ui$" "\\.png$"
"\\.xml$" "\\.compiled$" "\\.svg$"))) "\\.xml$" "\\.compiled$" "\\.svg$")))
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-before 'install 'compile-schemas (add-before 'install 'compile-schemas
(lambda _ (lambda _
(with-directory-excursion "schemas" (with-directory-excursion "schemas"
(invoke "make")) (invoke "make")))))))
#t)))))
(native-inputs (native-inputs
`(("glib:bin" ,glib "bin"))) ; for glib-compile-schemas (list `(,glib "bin"))) ; for glib-compile-schemas
(home-page "https://github.com/paperwm/PaperWM") (home-page "https://github.com/paperwm/PaperWM")
(synopsis "Tiled scrollable window management for GNOME Shell") (synopsis "Tiled scrollable window management for GNOME Shell")
(description "PaperWM is an experimental GNOME Shell extension providing (description "PaperWM is an experimental GNOME Shell extension providing