guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: multiqc: Fix build.


From: Tobias Geerinckx-Rice
Subject: 01/01: gnu: multiqc: Fix build.
Date: Thu, 17 May 2018 17:16:53 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 4ca958111908eda0452c47c8cb467a1bd0c9bc87
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Thu May 17 23:07:00 2018 +0200

    gnu: multiqc: Fix build.
    
    * gnu/packages/bioinformatics.scm (multiqc)[arguments]: Add a
    ‘relax-requirements’ phase to fix building with address@hidden
---
 gnu/packages/bioinformatics.scm | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 7a12155..8bfe01f 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -9085,6 +9085,19 @@ replacement for strverscmp.")
        ("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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]