gnu: ribotaper: Wrap executables.

* gnu/packages/bioinformatics.scm (ribotaper)[arguments]: Add phase
"wrap-executables".
This commit is contained in:
Ricardo Wurmus 2018-01-02 12:06:00 +01:00
parent 1adc6013fe
commit 7edee34427
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 14 additions and 0 deletions

View File

@ -493,6 +493,20 @@ BED, GFF/GTF, VCF.")
(base32
"0ykjbps1y3z3085q94npw8i9x5gldc6shy8vlc08v76zljsm07hv"))))
(build-system gnu-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'install 'wrap-executables
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")))
(for-each
(lambda (script)
(wrap-program (string-append out "/bin/" script)
`("R_LIBS_SITE" ":" = (,(getenv "R_LIBS_SITE")))))
'("create_annotations_files.bash"
"create_metaplots.bash"
"Ribotaper_ORF_find.sh"
"Ribotaper.sh"))))))))
(inputs
`(("bedtools" ,bedtools-2.18)
("samtools" ,samtools-0.1)