gnu: r-motifstack: Update to 1.44.0.
* gnu/packages/bioconductor.scm (r-motifstack): Update to 1.44.0. [source]: Delete minified JavaScript file. [arguments]: Add 'process-javascript phase. [native-inputs]: Add esbuild and sources for d3.v4.js.
This commit is contained in:
parent
dfd9bb7b1a
commit
1d91760996
1 changed files with 34 additions and 3 deletions
|
@ -13377,16 +13377,40 @@ Bioconductor.")
|
||||||
(define-public r-motifstack
|
(define-public r-motifstack
|
||||||
(package
|
(package
|
||||||
(name "r-motifstack")
|
(name "r-motifstack")
|
||||||
(version "1.42.0")
|
(version "1.44.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
|
||||||
"18gfx5dq83s2ny39a7cgg4r3b05gg9l0kfg83brwrm1cby08jdhm"))))
|
"1ymcsfcgzmqmdwjfgkwmnz23lb2gclj6g9297ap99p9ndg2i7hjb"))
|
||||||
|
(snippet
|
||||||
|
'(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
|
||||||
|
(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)))))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list r-ade4
|
(list r-ade4
|
||||||
r-biostrings
|
r-biostrings
|
||||||
|
@ -13395,7 +13419,14 @@ Bioconductor.")
|
||||||
r-tfbstools
|
r-tfbstools
|
||||||
r-xml))
|
r-xml))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list r-knitr))
|
(list esbuild r-knitr
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri "https://web.archive.org/web/20230428092426id_/\
|
||||||
|
https://d3js.org/d3.v4.js")
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0y7byf6kcinfz9ac59jxc4v6kppdazmnyqfav0dm4h550fzfqqlg")))))
|
||||||
(home-page "https://bioconductor.org/packages/motifStack/")
|
(home-page "https://bioconductor.org/packages/motifStack/")
|
||||||
(synopsis "Plot stacked logos for DNA, RNA and amino acid sequences")
|
(synopsis "Plot stacked logos for DNA, RNA and amino acid sequences")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue