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:
Tobias Geerinckx-Rice 2018-05-17 23:07:00 +02:00
parent 162825f965
commit 4ca9581119
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -9085,6 +9085,19 @@ (define-public multiqc
("python-numpy" ,python-numpy) ("python-numpy" ,python-numpy)
;; MultQC checks for the presence of nose at runtime. ;; MultQC checks for the presence of nose at runtime.
("python-nose" ,python-nose))) ("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") (home-page "http://multiqc.info")
(synopsis "Aggregate bioinformatics analysis reports") (synopsis "Aggregate bioinformatics analysis reports")
(description (description