[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/27: gnu: r-htmltable: Update to 2.4.2.
From: |
guix-commits |
Subject: |
02/27: gnu: r-htmltable: Update to 2.4.2. |
Date: |
Tue, 31 Oct 2023 16:58:39 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit a9ee95aec119601332875d9c4becef2331780fee
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Oct 31 16:58:25 2023 +0100
gnu: r-htmltable: Update to 2.4.2.
* gnu/packages/cran.scm (r-htmltable): Update to 2.4.2.
[arguments]: Replace minified JavaScript.
[native-inputs]: Add esbuild and js-jquery.
Change-Id: Iacc17957c2a773ca651d3a9e980a3e4281874829
---
gnu/packages/cran.scm | 30 +++++++++++++++++++++++++++---
1 file changed, 27 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index f2a035555b..96127e193c 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -4176,15 +4176,31 @@ applications.")
(define-public r-htmltable
(package
(name "r-htmltable")
- (version "2.4.1")
+ (version "2.4.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "htmlTable" version))
(sha256
- (base32 "14qg65nw0bpikqs1hb1x7apzdzrnnl3ykjnks67kkp46v1skwzrs"))))
+ (base32 "039nnxnvw5l284n7w8q0hnplm0b58nwhsrpjfi5asg61f9hxv0va"))))
(properties `((upstream-name . "htmlTable")))
(build-system r-build-system)
+ (arguments
+ (list
+ #:modules
+ '((guix build r-build-system)
+ (guix build minify-build-system)
+ (guix build utils))
+ #:imported-modules
+ `(,@%r-build-system-modules
+ (guix build minify-build-system))
+ #:phases
+ #~(modify-phases (@ (guix build r-build-system) %standard-phases)
+ (add-after 'unpack 'replace-bundled-minified-JavaScript
+ (lambda* (#:key inputs #:allow-other-keys)
+ (minify (assoc-ref inputs "js-jquery")
+ #:target
+ "inst/htmlwidgets/lib/jquery/jquery.min.js"))))))
(propagated-inputs
(list r-checkmate
r-htmltools
@@ -4194,7 +4210,15 @@ applications.")
r-rstudioapi
r-stringr))
(native-inputs
- (list r-knitr))
+ `(("esbuild" ,esbuild)
+ ("js-jquery"
+ ,(origin
+ (method url-fetch)
+ (uri "https://code.jquery.com/jquery-3.7.1.js")
+ (sha256
+ (base32
+ "1zicjv44sx6n83vrkd2lwnlbf7qakzh3gcfjw0lhq48b5z55ma3q"))))
+ ("r-knitr" ,r-knitr)))
(home-page "http://gforge.se/packages/")
(synopsis "Advanced tables for Markdown/HTML")
(description
- 06/27: gnu: r-mbess: Update to 4.9.3., (continued)
- 06/27: gnu: r-mbess: Update to 4.9.3., guix-commits, 2023/10/31
- 15/27: gnu: r-rintrojs: Update to 0.3.3., guix-commits, 2023/10/31
- 20/27: gnu: r-rfast: Update to 2.0.9., guix-commits, 2023/10/31
- 22/27: gnu: r-strex: Update to 1.6.1., guix-commits, 2023/10/31
- 23/27: gnu: r-knitr: Update to 1.45., guix-commits, 2023/10/31
- 25/27: gnu: r-checkmate: Update to 2.3.0., guix-commits, 2023/10/31
- 24/27: gnu: r-dbplyr: Update to 2.4.0., guix-commits, 2023/10/31
- 26/27: gnu: r-withr: Update to 2.5.2., guix-commits, 2023/10/31
- 27/27: gnu: r-logspline: Update to 2.1.21., guix-commits, 2023/10/31
- 05/27: gnu: r-poorman: Update to 0.2.7., guix-commits, 2023/10/31
- 02/27: gnu: r-htmltable: Update to 2.4.2.,
guix-commits <=
- 17/27: gnu: r-posterior: Update to 1.5.0., guix-commits, 2023/10/31
- 10/27: gnu: r-performance: Update to 0.10.8., guix-commits, 2023/10/31
- 11/27: gnu: r-gridpattern: Update to 1.1.1., guix-commits, 2023/10/31
- 12/27: gnu: r-grimport2: Update to 0.3-1., guix-commits, 2023/10/31
- 13/27: gnu: r-polspline: Update to 1.1.24., guix-commits, 2023/10/31
- 18/27: gnu: r-spatstat-linnet: Update to 3.1-3., guix-commits, 2023/10/31
- 09/27: gnu: r-wrs2: Update to 1.1-5., guix-commits, 2023/10/31