gnu: eigensoft: Update to 7.2.1.

* gnu/packages/bioinformatics.scm (eigensoft): Update to 7.2.1.
[arguments]: Remove Makefile modification.
This commit is contained in:
Ricardo Wurmus 2018-10-21 20:58:45 +02:00
parent 5748fe5fcc
commit 949fa34b84
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 52 additions and 61 deletions

View File

@ -2274,23 +2274,19 @@ of nucleic acid binding proteins.")
(license license:gpl3+)))
(define-public eigensoft
(let ((revision "1")
(commit "b14d1e202e21e532536ff8004f0419cd5e259dc7"))
(package
(name "eigensoft")
(version (string-append "6.1.2-"
revision "."
(string-take commit 9)))
(version "7.2.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/DReichLab/EIG.git")
(commit commit)))
(file-name (string-append "eigensoft-" commit "-checkout"))
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0f5m6k2j5c16xc3xbywcs989xyc26ncy1zfzp9j9n55n9r4xcaiq"))
"1c141fqvhnzibmnf22sv23vbmzm20kjjyrib44cfh75wyndp2d9k"))
(modules '((guix build utils)))
;; Remove pre-built binaries.
(snippet '(begin
@ -2306,12 +2302,7 @@ of nucleic acid binding proteins.")
;; There is no configure phase, but the Makefile is in a
;; sub-directory.
(replace 'configure
(lambda _
(chdir "src")
;; The link flags are incomplete.
(substitute* "Makefile"
(("-lgsl") "-lgsl -lm -llapack -llapacke -lpthread"))
#t))
(lambda _ (chdir "src") #t))
;; The provided install target only copies executables to
;; the "bin" directory in the build root.
(add-after 'install 'actually-install
@ -2339,7 +2330,7 @@ quantitative phenotypes.")
;; The license of the eigensoft tools is Expat, but since it's
;; linking with the GNU Scientific Library (GSL) the effective
;; license is the GPL.
(license license:gpl3+))))
(license license:gpl3+)))
(define-public edirect
(package