[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/235: gnu: r-billboarder: Update to 0.5.0.
From: |
guix-commits |
Subject: |
09/235: gnu: r-billboarder: Update to 0.5.0. |
Date: |
Fri, 1 Nov 2024 10:09:20 -0400 (EDT) |
rekado pushed a commit to branch r-team
in repository guix.
commit 308fbf32e004913d3b84654194c39d9d83ab5be8
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Nov 1 14:31:08 2024 +0100
gnu: r-billboarder: Update to 0.5.0.
* gnu/packages/cran.scm (r-billboarder): Update to 0.5.0.
[arguments]: Use minify-build-system for processing JavaScript files.
[native-inputs]: Update billboard.js.
Change-Id: I40e071681549e28c1d3c68b75767e5174c279041
---
gnu/packages/cran.scm | 24 ++++++++++++++----------
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 817974315d..3d35c9162c 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -14885,29 +14885,33 @@ file.")
(define-public r-billboarder
(package
(name "r-billboarder")
- (version "0.4.1")
+ (version "0.5.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "billboarder" version))
(sha256
- (base32 "0byj1ilwnmq9n9gswsnj17r8pzhm4fp6567nbz1xfmlvl3402qkn"))
+ (base32 "07piczkr5chsxrpkmqx533nxjaw0sgrqzd7xs2779jk8184vr36a"))
(snippet
'(delete-file
"inst/htmlwidgets/lib/billboard/billboard.pkgd.min.js"))))
(properties `((upstream-name . "billboarder")))
(build-system r-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
+ (list
+ #:modules '((guix build r-build-system)
+ (guix build minify-build-system)
+ (guix build utils)
+ (ice-9 match))
+ #:imported-modules `(,@%r-build-system-modules
+ (guix build minify-build-system))
+ #:phases
+ '(modify-phases (@ (guix build r-build-system) %standard-phases)
(add-after 'unpack 'process-javascript
(lambda* (#:key inputs #:allow-other-keys)
(with-directory-excursion "inst/htmlwidgets/lib/billboard/"
(let ((source (assoc-ref inputs "js-billboard"))
(target "billboard.pkgd.min.js"))
- (format #true "Processing ~a --> ~a~%"
- source target)
- (invoke "esbuild" source "--minify"
- (string-append "--outfile=" target)))))))))
+ (minify source #:target target))))))))
(propagated-inputs
(list r-ggplot2
r-htmltools
@@ -14927,10 +14931,10 @@ file.")
("js-billboard"
,(origin
(method url-fetch)
- (uri "https://unpkg.com/billboard.js@3.6.3/dist/billboard.js")
+ (uri "https://unpkg.com/billboard.js@3.13.0/dist/billboard.js")
(sha256
(base32
- "1lyj4yl95qgh06iygb2y2mdg1zxijzxi5h85z7kp8ngm825z6rpi"))))))
+ "0s1lcmsgcb6yjzz1k03rz2ga3hz9i3i442q30bv4p6z8dagd1akx"))))))
(home-page "https://github.com/dreamRs/billboarder")
(synopsis "Create interactive charts with the JavaScript Billboard
library")
(description
- branch r-team created (now 4decfca077), guix-commits, 2024/11/01
- 01/235: gnu: Add r-reformulas., guix-commits, 2024/11/01
- 05/235: gnu: r-jqr: Update to 1.3.5., guix-commits, 2024/11/01
- 06/235: gnu: r-shinyace: Update to 0.4.3., guix-commits, 2024/11/01
- 02/235: gnu: Add r-robslopes., guix-commits, 2024/11/01
- 07/235: gnu: r-tablerdash: Update to 0.1.5., guix-commits, 2024/11/01
- 11/235: gnu: r-profvis: Update to 0.4.0., guix-commits, 2024/11/01
- 14/235: gnu: r-wgcna: Update to 1.73., guix-commits, 2024/11/01
- 09/235: gnu: r-billboarder: Update to 0.5.0.,
guix-commits <=
- 17/235: gnu: r-correlation: Update to 0.8.6., guix-commits, 2024/11/01
- 16/235: gnu: r-cards: Update to 0.3.0., guix-commits, 2024/11/01
- 20/235: gnu: r-ggstats: Update to 0.7.0., guix-commits, 2024/11/01
- 22/235: gnu: r-v8: Update to 6.0.0., guix-commits, 2024/11/01
- 27/235: gnu: r-tgstat: Update to 2.3.28., guix-commits, 2024/11/01
- 28/235: gnu: r-tidyft: Update to 0.9.20., guix-commits, 2024/11/01
- 03/235: gnu: Add r-mcr., guix-commits, 2024/11/01
- 04/235: gnu: r-pbdzmq: Update to 0.3-13., guix-commits, 2024/11/01
- 08/235: gnu: r-radiant-data: Update to 1.6.7., guix-commits, 2024/11/01
- 10/235: gnu: r-adimpro: Update to 0.9.7.2., guix-commits, 2024/11/01