Archived
1
0
Fork 0

gnu: r-shiny: Update to 1.8.0.

* gnu/packages/cran.scm (r-shiny): Update to 1.8.0.
[arguments]: Do not use quasiquote for argument list.

Change-Id: Id36b3168a13a254e26cda30d7eaa45874d40c4e3
This commit is contained in:
Ricardo Wurmus 2023-12-28 00:25:33 +01:00
parent 54c2ed9e2e
commit ffa5bec664
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -4845,7 +4845,7 @@ previewing themes in real time.")
(define-public r-shiny (define-public r-shiny
(package (package
(name "r-shiny") (name "r-shiny")
(version "1.7.4") (version "1.8.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -4855,7 +4855,7 @@ previewing themes in real time.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0297sbrc7wfj0qfn63yrgs4xkxaxp95ppipdp9pqjg5qhm9k5wbi")) "0rfrch2147yhp2vkr3198gn1ww00ckzcw4i6rywfl38c6fdw9vr1"))
(snippet (snippet
'(for-each delete-file '(for-each delete-file
'("inst/www/shared/bootstrap/js/bootstrap.min.js" '("inst/www/shared/bootstrap/js/bootstrap.min.js"
@ -4874,14 +4874,16 @@ previewing themes in real time.")
"inst/www/shared/strftime/strftime-min.js"))))) "inst/www/shared/strftime/strftime-min.js")))))
(build-system r-build-system) (build-system r-build-system)
(arguments (arguments
`(#:modules ((guix build r-build-system) (list
#:modules '((guix build r-build-system)
(guix build minify-build-system) (guix build minify-build-system)
(guix build utils) (guix build utils)
(ice-9 match)) (ice-9 match))
#:imported-modules (,@%r-build-system-modules #:imported-modules
`(,@%r-build-system-modules
(guix build minify-build-system)) (guix build minify-build-system))
#:phases #:phases
(modify-phases (@ (guix build r-build-system) %standard-phases) '(modify-phases (@ (guix build r-build-system) %standard-phases)
(add-after 'unpack 'replace-bundled-minified-JavaScript (add-after 'unpack 'replace-bundled-minified-JavaScript
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(let ((replace-file (lambda (old new) (let ((replace-file (lambda (old new)