gnu: mafft: Wrap programs.
* gnu/packages/bioinformatics.scm (mafft)[arguments]: Add 'wrap-programs' phase. [propagated-inputs]: Move coreutils from here ... [inputs]: ... to here.
This commit is contained in:
parent
93b8316e08
commit
101e8f7171
|
@ -3008,13 +3008,23 @@ sequencing tag position and orientation.")
|
|||
(string-append prefix (which "awk")))
|
||||
(("grep") (which "grep")))
|
||||
#t))
|
||||
(delete 'configure))))
|
||||
(delete 'configure)
|
||||
(add-after 'install 'wrap-programs
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(bin (string-append out "/bin"))
|
||||
(path (string-append
|
||||
(assoc-ref %build-inputs "coreutils") "/bin:")))
|
||||
(for-each (lambda (file)
|
||||
(wrap-program file
|
||||
`("PATH" ":" prefix (,path))))
|
||||
(find-files bin)))
|
||||
#t)))))
|
||||
(inputs
|
||||
`(("perl" ,perl)
|
||||
("gawk" ,gawk)
|
||||
("grep" ,grep)))
|
||||
(propagated-inputs
|
||||
`(("coreutils" ,coreutils)))
|
||||
("grep" ,grep)
|
||||
("coreutils" ,coreutils)))
|
||||
(home-page "http://mafft.cbrc.jp/alignment/software/")
|
||||
(synopsis "Multiple sequence alignment program")
|
||||
(description
|
||||
|
|
Loading…
Reference in New Issue