summaryrefslogtreecommitdiff
path: root/gnu/packages/bioinformatics.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/bioinformatics.scm')
-rw-r--r--gnu/packages/bioinformatics.scm16
1 files changed, 14 insertions, 2 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 3ddb91714a..12533c9efa 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -528,14 +528,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