gnu: r-bgmix: Update to 1.59.0.

* gnu/packages/bioconductor.scm (r-bgmix): Update to 1.59.0.
[arguments]: Add build phase 'avoid-naming-conflict.
This commit is contained in:
Ricardo Wurmus 2023-04-28 19:01:22 +02:00
parent e8d5475045
commit ee4f843e46
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -16736,16 +16736,27 @@ (define-public r-activepathways
(define-public r-bgmix
(package
(name "r-bgmix")
(version "1.58.0")
(version "1.59.0")
(source
(origin
(method url-fetch)
(uri (bioconductor-uri "BGmix" version))
(sha256
(base32
"0r4cxrjvf3qr5514lsw1s53h4by3djb9ipkz7bi979w343dn9xfx"))))
"16fzgxcy4sk0kd67vzdxqz81s84dvh4bqss9cbl9bn6vhpfsnfyf"))))
(properties `((upstream-name . "BGmix")))
(build-system r-build-system)
(arguments
(list
#:phases
'(modify-phases %standard-phases
;; GCC's c++/bits/specfun.h (included by cmath) provides a std::beta
;; procedure.
(add-after 'unpack 'avoid-naming-conflict
(lambda _
(substitute* "src/BGmix_main.cpp"
(("\\bbeta\\b") "::beta")
(("\\*\\*::beta,") "**beta,")))))))
(propagated-inputs
(list r-kernsmooth))
(home-page "https://bioconductor.org/packages/BGmix/")