gnu: star: Update to 2.7.0b.

* gnu/packages/bioinformatics.scm (star): Update to 2.7.0b.
[arguments]: Add "add-missing-header" build phase.
master
Ricardo Wurmus 2019-02-06 21:24:42 +01:00
parent d11840b43e
commit 6df215f8c8
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 9 additions and 2 deletions

View File

@ -6020,7 +6020,7 @@ application of SortMeRNA is filtering rRNA from metatranscriptomic data.")
(define-public star
(package
(name "star")
(version "2.7.0a")
(version "2.7.0b")
(source (origin
(method git-fetch)
(uri (git-reference
@ -6029,7 +6029,7 @@ application of SortMeRNA is filtering rRNA from metatranscriptomic data.")
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32
"1yx28gra6gqdx1ps5y8mpdinsn8r0dhsc2m3gcvjfrk71i9yhd6l"))
"1lih6cbpvnvhyvvswdhy06mwyzvwax96m723378v4z6psqzsh11d"))
(modules '((guix build utils)))
(snippet
'(begin
@ -6055,6 +6055,13 @@ application of SortMeRNA is filtering rRNA from metatranscriptomic data.")
(("(COMPILATION_TIME_PLACE=\")(.*)(\")" _ pre mid post)
(string-append pre "Built with Guix" post)))
#t))
;; See https://github.com/alexdobin/STAR/pull/562
(add-after 'enter-source-dir 'add-missing-header
(lambda _
(substitute* "SoloReadFeature_inputRecords.cpp"
(("#include \"binarySearch2.h\"" h)
(string-append h "\n#include <math.h>")))
#t))
(add-after 'enter-source-dir 'do-not-use-bundled-htslib
(lambda _
(substitute* "Makefile"