gnu: multiqc: Update to 1.10.1.
* gnu/packages/bioinformatics.scm (multiqc): Update to 1.10.1. [arguments]: Remove build phase "relax-requirements"; replace "check" phase. [propagated-inputs]: Add python-coloredlogs, python-future, python-networkx, and python-rich; remove python-nose. [native-inputs]: Add python-pytest and the test suite.
This commit is contained in:
parent
856de4f61c
commit
1ac8f05103
1 changed files with 41 additions and 25 deletions
|
@ -8414,41 +8414,57 @@ replacement for strverscmp.")
|
||||||
(define-public multiqc
|
(define-public multiqc
|
||||||
(package
|
(package
|
||||||
(name "multiqc")
|
(name "multiqc")
|
||||||
(version "1.5")
|
(version "1.10.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "multiqc" version))
|
(uri (pypi-uri "multiqc" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"02iihfl0w0hpnr4pa0sbd1y9qxrg3ycyhjp5lidkcrqh1lmzs3zy"))))
|
"0y9sgjca3bp0kk3ngry4zf4q2diyzp5bvzsx5l23nsysfbfkigm4"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(propagated-inputs
|
|
||||||
`(("python-jinja2" ,python-jinja2)
|
|
||||||
("python-simplejson" ,python-simplejson)
|
|
||||||
("python-pyyaml" ,python-pyyaml)
|
|
||||||
("python-click" ,python-click)
|
|
||||||
("python-spectra" ,python-spectra)
|
|
||||||
("python-requests" ,python-requests)
|
|
||||||
("python-markdown" ,python-markdown)
|
|
||||||
("python-lzstring" ,python-lzstring)
|
|
||||||
("python-matplotlib" ,python-matplotlib)
|
|
||||||
("python-numpy" ,python-numpy)
|
|
||||||
;; MultQC checks for the presence of nose at runtime.
|
|
||||||
("python-nose" ,python-nose)))
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'relax-requirements
|
(replace 'check
|
||||||
(lambda _
|
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
||||||
(substitute* "setup.py"
|
(when tests?
|
||||||
;; MultiQC 1.5 ‘requires’ a version of python-matplotlib older
|
(setenv "HOME" "/tmp")
|
||||||
;; than the one in Guix, but should work fine with 2.2.2.
|
(let ((here (getcwd)))
|
||||||
;; See <https://github.com/ewels/MultiQC/issues/725> and
|
(copy-recursively (assoc-ref inputs "tests") "/tmp/tests")
|
||||||
;; <https://github.com/ewels/MultiQC/issues/732> for details.
|
;; ModuleNotFoundError: No module named 'multiqc.modules.ccs'
|
||||||
(("['\"]matplotlib.*?['\"]")
|
(delete-file "/tmp/tests/unit_tests/test_ccs.py")
|
||||||
"'matplotlib'"))
|
(with-directory-excursion "/tmp/tests"
|
||||||
#t)))))
|
(setenv "PYTHONPATH" (string-append here ":" (getenv "PYTHONPATH")))
|
||||||
|
(invoke "python" "-munittest" "discover")))))))))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("python-click" ,python-click)
|
||||||
|
("python-coloredlogs" ,python-coloredlogs)
|
||||||
|
("python-future" ,python-future)
|
||||||
|
("python-jinja2" ,python-jinja2)
|
||||||
|
("python-lzstring" ,python-lzstring)
|
||||||
|
("python-markdown" ,python-markdown)
|
||||||
|
("python-matplotlib" ,python-matplotlib)
|
||||||
|
("python-networkx" ,python-networkx)
|
||||||
|
("python-numpy" ,python-numpy)
|
||||||
|
("python-pyyaml" ,python-pyyaml)
|
||||||
|
("python-requests" ,python-requests)
|
||||||
|
("python-rich" ,python-rich)
|
||||||
|
("python-simplejson" ,python-simplejson)
|
||||||
|
("python-spectra" ,python-spectra)))
|
||||||
|
(native-inputs
|
||||||
|
`(("python-pytest" ,python-pytest)
|
||||||
|
("tests"
|
||||||
|
,(let ((commit "02272d48a382beb27489fcf9e6308a0407dc3c2e"))
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/ewels/MultiQC_TestData")
|
||||||
|
(commit commit)))
|
||||||
|
(file-name (git-file-name "multiqc-test-data" commit))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1bha64wanrigczw4yn81din56396n61j5gqdrkslhslmskcafi91")))))))
|
||||||
(home-page "https://multiqc.info")
|
(home-page "https://multiqc.info")
|
||||||
(synopsis "Aggregate bioinformatics analysis reports")
|
(synopsis "Aggregate bioinformatics analysis reports")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue