gnu: r-d3r: Update to 1.0.0.
* gnu/packages/cran.scm (r-d3r): Update to 1.0.0. [arguments]: Also replace d3.v7.js. [native-inputs]: Add d3.v7.js.
This commit is contained in:
parent
d390bf650b
commit
630491f535
@ -2261,14 +2261,14 @@ Bootstrap themes, which are packaged for use with Shiny applications.")
|
|||||||
(define-public r-d3r
|
(define-public r-d3r
|
||||||
(package
|
(package
|
||||||
(name "r-d3r")
|
(name "r-d3r")
|
||||||
(version "0.9.1")
|
(version "1.0.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (cran-uri "d3r" version))
|
(uri (cran-uri "d3r" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0kc82vvyfxhxvqfalngn36prn3sxdiinsx04rn99ha6zdc27zp5k"))))
|
"1qijkllfaaw0lb29j8mappm8jz9kg8gkihxq5wqhb4gabsazdwva"))))
|
||||||
(build-system r-build-system)
|
(build-system r-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:modules ((guix build utils)
|
`(#:modules ((guix build utils)
|
||||||
@ -2289,7 +2289,9 @@ Bootstrap themes, which are packaged for use with Shiny applications.")
|
|||||||
(,(assoc-ref inputs "d3.v5.js")
|
(,(assoc-ref inputs "d3.v5.js")
|
||||||
"v5/dist/d3.min.js")
|
"v5/dist/d3.min.js")
|
||||||
(,(assoc-ref inputs "d3.v6.js")
|
(,(assoc-ref inputs "d3.v6.js")
|
||||||
"v6/dist/d3.min.js"))))
|
"v6/dist/d3.min.js")
|
||||||
|
(,(assoc-ref inputs "d3.v7.js")
|
||||||
|
"v7/dist/d3.min.js"))))
|
||||||
(lambda (sources targets)
|
(lambda (sources targets)
|
||||||
(for-each (lambda (source target)
|
(for-each (lambda (source target)
|
||||||
(format #t "Processing ~a --> ~a~%"
|
(format #t "Processing ~a --> ~a~%"
|
||||||
@ -2297,8 +2299,7 @@ Bootstrap themes, which are packaged for use with Shiny applications.")
|
|||||||
(delete-file target)
|
(delete-file target)
|
||||||
(invoke "esbuild" source "--minify"
|
(invoke "esbuild" source "--minify"
|
||||||
(string-append "--outfile=" target)))
|
(string-append "--outfile=" target)))
|
||||||
sources targets))))
|
sources targets)))))))))
|
||||||
#t)))))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("r-dplyr" ,r-dplyr)
|
`(("r-dplyr" ,r-dplyr)
|
||||||
("r-htmltools" ,r-htmltools)
|
("r-htmltools" ,r-htmltools)
|
||||||
@ -2333,7 +2334,14 @@ Bootstrap themes, which are packaged for use with Shiny applications.")
|
|||||||
(uri "https://d3js.org/d3.v6.js")
|
(uri "https://d3js.org/d3.v6.js")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1x6432ca7p1pfxhz3airzw943fincn9izzxkclc1wmphcvv2n2p9"))))))
|
"1x6432ca7p1pfxhz3airzw943fincn9izzxkclc1wmphcvv2n2p9"))))
|
||||||
|
("d3.v7.js"
|
||||||
|
,(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri "https://d3js.org/d3.v7.js")
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0sd6vavxs8mx5xyb8xahlqghdiczqd284a7d5wravhqnrj0bw097"))))))
|
||||||
(home-page "https://github.com/timelyportfolio/d3r")
|
(home-page "https://github.com/timelyportfolio/d3r")
|
||||||
(synopsis "d3.js utilities for R")
|
(synopsis "d3.js utilities for R")
|
||||||
(description
|
(description
|
||||||
|
Loading…
Reference in New Issue
Block a user