me
/
guix
Archived
1
0
Fork 0

gnu: star: Use "modify-phases" syntax.

* gnu/packages/bioinformatics.scm (star)[arguments]: Use "modify-phases"
  syntax.
master
Ricardo Wurmus 2016-01-19 16:04:01 +01:00
parent ebf89f134c
commit c0266e8d03
1 changed files with 9 additions and 9 deletions

View File

@ -3037,15 +3037,15 @@ of these reads to align data quickly through a hash-based indexing scheme.")
'(#:tests? #f ;no check target
#:make-flags '("STAR")
#:phases
(alist-cons-after
'unpack 'enter-source-dir (lambda _ (chdir "source"))
(alist-replace
'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((bin (string-append (assoc-ref outputs "out") "/bin/")))
(install-file "STAR" bin)))
(alist-delete
'configure %standard-phases)))))
(modify-phases %standard-phases
(add-after 'unpack 'enter-source-dir
(lambda _ (chdir "source") #t))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((bin (string-append (assoc-ref outputs "out") "/bin/")))
(install-file "STAR" bin))
#t))
(delete 'configure))))
(native-inputs
`(("vim" ,vim))) ; for xxd
(inputs