[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
127/135: gnu: bedtools-2.18: Fix build with newer toolchain.
From: |
guix-commits |
Subject: |
127/135: gnu: bedtools-2.18: Fix build with newer toolchain. |
Date: |
Wed, 3 Nov 2021 18:00:21 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit d54a4285ea92f899ad5a0309de9215447139fe5f
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Nov 3 08:14:56 2021 +0000
gnu: bedtools-2.18: Fix build with newer toolchain.
* gnu/packages/bioinformatics.scm (bedtools-2.18)[arguments]: Add phase
'compatibility, fixing syntax quirks that are problematic with newer
toolchains.
[native-inputs]: Do not inherit.
[inherit]: Do not inherit.
---
gnu/packages/bioinformatics.scm | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index fbcd571..a731b9a 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -544,14 +544,26 @@ BED, GFF/GTF, VCF.")
'(#:test-target "test"
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'compatibility
+ (lambda _
+ (substitute* "src/utils/fileType/FileRecordTypeChecker.h"
+ (("static const float PERCENTAGE")
+ "static constexpr float PERCENTAGE"))
+ (substitute* "src/utils/general/DualQueue.h"
+ (("template <class T, template<class T> class CompareFunc>")
+ "template <class T, template<class U> class CompareFunc>"))))
(delete 'configure)
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((bin (string-append (assoc-ref outputs "out") "/bin/")))
(for-each (lambda (file)
(install-file file bin))
- (find-files "bin" ".*")))
- #t)))))))
+ (find-files "bin" ".*"))))))))
+ (native-inputs
+ `(("python" ,python-wrapper)))
+ (inputs
+ `(("samtools" ,samtools)
+ ("zlib" ,zlib)))))
(define-public pbbam
(package
- 120/135: gnu: r-plotly: Update to 4.10.0., (continued)
- 120/135: gnu: r-plotly: Update to 4.10.0., guix-commits, 2021/11/03
- 122/135: gnu: r-ztable: Update to 0.2.3., guix-commits, 2021/11/03
- 124/135: gnu: r-lubridate: Update to 1.8.0., guix-commits, 2021/11/03
- 129/135: gnu: r-annotationhub: Update to 3.0.2., guix-commits, 2021/11/03
- 126/135: gnu: r-biocthis: Set HOME variable., guix-commits, 2021/11/03
- 133/135: gnu: r-motifstack: Update to 1.36.1., guix-commits, 2021/11/03
- 134/135: gnu: r-multidataset: Update to 1.20.2., guix-commits, 2021/11/03
- 132/135: gnu: r-enrichplot: Update to 1.12.3., guix-commits, 2021/11/03
- 135/135: gnu: r-s4vectors: Update to 0.30.2., guix-commits, 2021/11/03
- 123/135: gnu: r-robustbase: Update to 0.93-9., guix-commits, 2021/11/03
- 127/135: gnu: bedtools-2.18: Fix build with newer toolchain.,
guix-commits <=
- 128/135: gnu: r-annotationforge: Update to 1.34.1., guix-commits, 2021/11/03
- 130/135: gnu: r-genefilter: Update to 1.74.1., guix-commits, 2021/11/03
- 131/135: gnu: r-dose: Update to 3.18.3., guix-commits, 2021/11/03
- 114/135: gnu: r-desc: Update to 1.4.0., guix-commits, 2021/11/03
- 115/135: gnu: r-readr: Update to 2.0.2., guix-commits, 2021/11/03
- 121/135: gnu: r-hmisc: Update to 4.6-0., guix-commits, 2021/11/03
- 125/135: gnu: Add r-zellkonverter., guix-commits, 2021/11/03