Archived
1
0
Fork 0

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

View file

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