diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2023-11-03 17:12:10 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2023-11-03 22:49:18 +0100 |
commit | 44d9185cfb2183b22125f3ab4b4898add5b11e7b (patch) | |
tree | 4179f7cf4c855ef4b576d6665ba062ed999e7897 /gnu | |
parent | 1eb852ff06eb41042311ef306fe9016040850ed0 (diff) |
gnu: r-motifstack: Update to 1.46.0.
* gnu/packages/bioconductor.scm (r-motifstack): Update to 1.46.0.
[arguments]: Simplify.
Change-Id: I1def6688307ae3cda991ab1349b6797d36c0e942
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/bioconductor.scm | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index cbfe38a193..9e493176bd 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -15459,40 +15459,29 @@ Bioconductor.") (define-public r-motifstack (package (name "r-motifstack") - (version "1.44.1") + (version "1.46.0") (source (origin (method url-fetch) (uri (bioconductor-uri "motifStack" version)) (sha256 (base32 - "1g46cxn1h3cqr0yrj6ancshzygiqr9finf1vmmig3h9g0ijgr5lz")) + "10hmqwkysifd59as9zx00p3gj595lwj30ywn9pqb1920q6f5mx2i")) (snippet '(delete-file "inst/htmlwidgets/lib/d3/d3.v4.min.js")))) (properties `((upstream-name . "motifStack"))) (build-system r-build-system) (arguments (list - #:modules '((guix build utils) - (guix build r-build-system) - (srfi srfi-1)) #:phases '(modify-phases %standard-phases (add-after 'unpack 'process-javascript (lambda* (#:key inputs #:allow-other-keys) (with-directory-excursion "inst/htmlwidgets/lib/d3" - (call-with-values - (lambda () - (unzip2 - `((,(assoc-ref inputs "_") - "d3.v4.min.js")))) - (lambda (sources targets) - (for-each (lambda (source target) - (format #true "Processing ~a --> ~a~%" - source target) - (invoke "esbuild" source "--minify" - (string-append "--outfile=" target))) - sources targets))))))))) + (let ((source (assoc-ref inputs "_")) + (target "d3.v4.min.js")) + (invoke "esbuild" source "--minify" + (string-append "--outfile=" target))))))))) (propagated-inputs (list r-ade4 r-biostrings |