gnu: r-motifstack: Update to 1.46.0.

* gnu/packages/bioconductor.scm (r-motifstack): Update to 1.46.0.
[arguments]: Simplify.

Change-Id: I1def6688307ae3cda991ab1349b6797d36c0e942
This commit is contained in:
Ricardo Wurmus 2023-11-03 17:12:10 +01:00
parent 1eb852ff06
commit 44d9185cfb
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -15459,40 +15459,29 @@ (define-public r-motifbreakr
(define-public r-motifstack (define-public r-motifstack
(package (package
(name "r-motifstack") (name "r-motifstack")
(version "1.44.1") (version "1.46.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (bioconductor-uri "motifStack" version)) (uri (bioconductor-uri "motifStack" version))
(sha256 (sha256
(base32 (base32
"1g46cxn1h3cqr0yrj6ancshzygiqr9finf1vmmig3h9g0ijgr5lz")) "10hmqwkysifd59as9zx00p3gj595lwj30ywn9pqb1920q6f5mx2i"))
(snippet (snippet
'(delete-file "inst/htmlwidgets/lib/d3/d3.v4.min.js")))) '(delete-file "inst/htmlwidgets/lib/d3/d3.v4.min.js"))))
(properties `((upstream-name . "motifStack"))) (properties `((upstream-name . "motifStack")))
(build-system r-build-system) (build-system r-build-system)
(arguments (arguments
(list (list
#:modules '((guix build utils)
(guix build r-build-system)
(srfi srfi-1))
#:phases #:phases
'(modify-phases %standard-phases '(modify-phases %standard-phases
(add-after 'unpack 'process-javascript (add-after 'unpack 'process-javascript
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(with-directory-excursion "inst/htmlwidgets/lib/d3" (with-directory-excursion "inst/htmlwidgets/lib/d3"
(call-with-values (let ((source (assoc-ref inputs "_"))
(lambda () (target "d3.v4.min.js"))
(unzip2 (invoke "esbuild" source "--minify"
`((,(assoc-ref inputs "_") (string-append "--outfile=" target)))))))))
"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)))))))))
(propagated-inputs (propagated-inputs
(list r-ade4 (list r-ade4
r-biostrings r-biostrings