gnu: ribotaper: Simplify with G-expression.

* gnu/packages/bioinformatics.scm (ribotaper)[arguments]: Use G-expression and
drop trailing #T from build phase.
This commit is contained in:
Ricardo Wurmus 2023-05-12 22:21:14 +02:00
parent 0e20ed322d
commit fac8721bfd
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1152,20 +1152,19 @@ (define-public ribotaper
"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")))
#t)))))
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'wrap-executables
(lambda _
(for-each
(lambda (script)
(wrap-program (string-append #$output "/bin/" script)
`("R_LIBS_SITE" ":" = (,(getenv "R_LIBS_SITE")))))
'("create_annotations_files.bash"
"create_metaplots.bash"
"Ribotaper_ORF_find.sh"
"Ribotaper.sh")))))))
(inputs
(list bedtools-2.18
samtools-0.1