me
/
guix
Archived
1
0
Fork 0

gnu: sambamba: Remove trailing #T.

* gnu/packages/bioinformatics.scm (sambamba)[arguments]: Remove trailing #T
from build phases.
master
Ricardo Wurmus 2021-12-08 14:19:28 +01:00
parent 62da1b34d1
commit 76b39f03d2
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 3 additions and 6 deletions

View File

@ -9117,21 +9117,18 @@ communication networks from scRNA-seq data.")
(lambda _ (lambda _
(substitute* "Makefile" (substitute* "Makefile"
;; We use ldc2 instead of ldmd2 to compile sambamba. ;; We use ldc2 instead of ldmd2 to compile sambamba.
(("\\$\\(shell which ldmd2\\)") (which "ldc2"))) (("\\$\\(shell which ldmd2\\)") (which "ldc2")))))
#t))
(add-after 'unpack 'unbundle-prerequisites (add-after 'unpack 'unbundle-prerequisites
(lambda _ (lambda _
(substitute* "Makefile" (substitute* "Makefile"
(("= lz4/lib/liblz4.a") "= -L-llz4") (("= lz4/lib/liblz4.a") "= -L-llz4")
(("ldc_version_info lz4-static") "ldc_version_info")) (("ldc_version_info lz4-static") "ldc_version_info"))))
#t))
(replace 'install (replace 'install
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let ((bin (string-append (assoc-ref outputs "out") "/bin"))) (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
(mkdir-p bin) (mkdir-p bin)
(copy-file (string-append "bin/sambamba-" ,version) (copy-file (string-append "bin/sambamba-" ,version)
(string-append bin "/sambamba")) (string-append bin "/sambamba"))))))))
#t))))))
(native-inputs (native-inputs
`(("python" ,python))) `(("python" ,python)))
(inputs (inputs