mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: samtools-0.1: Adapt to changes in "samtools" variable.
* gnu/packages/bioinformatics.scm (samtools-0.1)[arguments]: Add "LIBCURSES" make flag; delete "configure" phase; disable tests outside of "substitute-keyword-arguments".
This commit is contained in:
parent
e90cf6c14a
commit
2309ed6862
1 changed files with 15 additions and 12 deletions
|
@ -2456,18 +2456,21 @@ (define-public samtools-0.1
|
|||
(sha256
|
||||
(base32 "1m33xsfwz0s8qi45lylagfllqg7fphf4dr0780rsvw75av9wk06h"))))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments samtools)
|
||||
((#:tests? tests) #f) ;no "check" target
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((bin (string-append
|
||||
(assoc-ref outputs "out") "/bin")))
|
||||
(mkdir-p bin)
|
||||
(copy-file "samtools"
|
||||
(string-append bin "/samtools")))))
|
||||
(delete 'patch-tests)))))))
|
||||
`(#:tests? #f ;no "check" target
|
||||
,@(substitute-keyword-arguments (package-arguments samtools)
|
||||
((#:make-flags flags)
|
||||
`(cons "LIBCURSES=-lncurses" ,flags))
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((bin (string-append
|
||||
(assoc-ref outputs "out") "/bin")))
|
||||
(mkdir-p bin)
|
||||
(copy-file "samtools"
|
||||
(string-append bin "/samtools")))))
|
||||
(delete 'patch-tests)
|
||||
(delete 'configure))))))))
|
||||
|
||||
(define-public mosaik
|
||||
(let ((commit "5c25216d"))
|
||||
|
|
Loading…
Reference in a new issue