me
/
guix
Archived
1
0
Fork 0

gnu: bedtools-2.18: Use gexp.

* gnu/packages/bioinformatics.scm (bedtools-2.18)[arguments]: Use gexp.
[native-inputs]: Drop package label.
Ricardo Wurmus 2022-12-14 22:47:43 +01:00
parent 7b8cac86ba
commit 1689215a30
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 20 additions and 19 deletions

View File

@ -482,26 +482,27 @@ BED, GFF/GTF, VCF.")
(base32 (base32
"11rvca19ncg03kxd0wzlfx5ws7r3nisd0z8s9j9n182d8ksp2pxz")))) "11rvca19ncg03kxd0wzlfx5ws7r3nisd0z8s9j9n182d8ksp2pxz"))))
(arguments (arguments
'(#:test-target "test" (list
#:phases #:test-target "test"
(modify-phases %standard-phases #:phases
(add-after 'unpack 'compatibility #~(modify-phases %standard-phases
(lambda _ (add-after 'unpack 'compatibility
(substitute* "src/utils/fileType/FileRecordTypeChecker.h" (lambda _
(("static const float PERCENTAGE") (substitute* "src/utils/fileType/FileRecordTypeChecker.h"
"static constexpr float PERCENTAGE")) (("static const float PERCENTAGE")
(substitute* "src/utils/general/DualQueue.h" "static constexpr float PERCENTAGE"))
(("template <class T, template<class T> class CompareFunc>") (substitute* "src/utils/general/DualQueue.h"
"template <class T, template<class U> class CompareFunc>")))) (("template <class T, template<class T> class CompareFunc>")
(delete 'configure) "template <class T, template<class U> class CompareFunc>"))))
(replace 'install (delete 'configure)
(lambda* (#:key outputs #:allow-other-keys) (replace 'install
(let ((bin (string-append (assoc-ref outputs "out") "/bin/"))) (lambda _
(for-each (lambda (file) (let ((bin (string-append #$output "/bin/")))
(install-file file bin)) (for-each (lambda (file)
(find-files "bin" ".*")))))))) (install-file file bin))
(find-files "bin" ".*"))))))))
(native-inputs (native-inputs
`(("python" ,python-wrapper))) (list python-wrapper))
(inputs (inputs
(list samtools zlib)))) (list samtools zlib))))