From 44d9185cfb2183b22125f3ab4b4898add5b11e7b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 3 Nov 2023 17:12:10 +0100 Subject: [PATCH] gnu: r-motifstack: Update to 1.46.0. * gnu/packages/bioconductor.scm (r-motifstack): Update to 1.46.0. [arguments]: Simplify. Change-Id: I1def6688307ae3cda991ab1349b6797d36c0e942 --- gnu/packages/bioconductor.scm | 23 ++++++----------------- 1 file 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 @@ (define-public r-motifbreakr (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