mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: multiqc: Fix build.
* gnu/packages/bioinformatics.scm (multiqc)[arguments]: Add a ‘relax-requirements’ phase to fix building with python-matplotlib@2.2.
This commit is contained in:
parent
162825f965
commit
4ca9581119
1 changed files with 13 additions and 0 deletions
|
@ -9085,6 +9085,19 @@ (define-public multiqc
|
|||
("python-numpy" ,python-numpy)
|
||||
;; MultQC checks for the presence of nose at runtime.
|
||||
("python-nose" ,python-nose)))
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'relax-requirements
|
||||
(lambda _
|
||||
(substitute* "setup.py"
|
||||
;; MultiQC 1.5 ‘requires’ a version of python-matplotlib older
|
||||
;; than the one in Guix, but should work fine with 2.2.2.
|
||||
;; See <https://github.com/ewels/MultiQC/issues/725> and
|
||||
;; <https://github.com/ewels/MultiQC/issues/732> for details.
|
||||
(("['\"]matplotlib.*?['\"]")
|
||||
"'matplotlib'"))
|
||||
#t)))))
|
||||
(home-page "http://multiqc.info")
|
||||
(synopsis "Aggregate bioinformatics analysis reports")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue