[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/09: gnu: seek: Update to 1-1.196ed4c.
From: |
guix-commits |
Subject: |
08/09: gnu: seek: Update to 1-1.196ed4c. |
Date: |
Thu, 9 Dec 2021 05:20:15 -0500 (EST) |
rekado pushed a commit to branch core-updates-frozen
in repository guix.
commit 1c7914009ac4aacf2794a05f907e098c7c025640
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Dec 9 11:12:46 2021 +0100
gnu: seek: Update to 1-1.196ed4c.
* gnu/packages/bioinformatics.scm (seek): Update to 1-1.196ed4c.
[source]: Fetch from github.
[build-system]: Use cmake-build-system.
[arguments]: Remove all custom phases; replace 'check phase; disable tests;
set configure flags.
[inputs]: Add apache-thrift:include, apache-thrift:lib, and python.
[native-inputs]: Remove autoconf, automake, and perl; add pkg-config.
---
gnu/packages/bioinformatics.scm | 87 ++++++++++++++++++-----------------------
1 file changed, 38 insertions(+), 49 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 70eb130..0030969 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -139,6 +139,7 @@
#:use-module (gnu packages qt)
#:use-module (gnu packages rdf)
#:use-module (gnu packages readline)
+ #:use-module (gnu packages rpc)
#:use-module (gnu packages rsync)
#:use-module (gnu packages ruby)
#:use-module (gnu packages serialization)
@@ -6233,67 +6234,55 @@ distribution, coverage uniformity, strand specificity,
etc.")
(license license:gpl3+)))
(define-public seek
- ;; There are no release tarballs. According to the installation
- ;; instructions at http://seek.princeton.edu/installation.jsp, the latest
- ;; stable release is identified by this changeset ID.
- (let ((changeset "2329130")
+ ;; There are no release tarballs. And the installation instructions at
+ ;; http://seek.princeton.edu/installation.jsp only mention a mercurial
+ ;; changeset ID. This is a git repository, though. So we just take the
+ ;; most recent commit.
+ (let ((commit "196ed4c7633246e9c628e4330d77577ccfd7f1e5")
(revision "1"))
(package
(name "seek")
- (version (string-append "0-" revision "." changeset))
+ (version (git-version "1" revision commit))
(source (origin
- (method hg-fetch)
- (uri (hg-reference
- (url "https://bitbucket.org/libsleipnir/sleipnir")
- (changeset changeset)))
- (file-name (string-append name "-" version "-checkout"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/FunctionLab/sleipnir.git")
+ (commit commit)
+ (recursive? #true)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0qrvilwh18dpbhkf92qvxbmay0j75ra3jg2wrhz67gf538zzphsx"))))
- (build-system gnu-build-system)
+ "0c658n8nz563a96dsi4gl2685vxph0yfmmqq5yjc6i4xin1jy1ab"))))
+ (build-system cmake-build-system)
(arguments
- `(#:modules ((srfi srfi-1)
- (guix build gnu-build-system)
- (guix build utils))
+ `(#:configure-flags
+ ,#~(list (string-append "-DSVM_LIBRARY="
+ #$(this-package-input "libsvm")
+ "/lib/libsvm.so.2")
+ (string-append "-DSVM_INCLUDE="
+ #$(this-package-input "libsvm")
+ "/include"))
+ #:tests? #false ; tests only fail in the build container
#:phases
- (let ((dirs '("SeekMiner"
- "SeekEvaluator"
- "SeekPrep"
- "Distancer"
- "Data2DB"
- "PCL2Bin")))
- (modify-phases %standard-phases
- (replace 'bootstrap
- (lambda _
- (substitute* "gen_tools_am"
- (("/usr/bin/env.*") (which "perl")))
- (invoke "bash" "gen_auto")
- #t))
- (add-after 'build 'build-additional-tools
- (lambda* (#:key make-flags #:allow-other-keys)
- (for-each (lambda (dir)
- (with-directory-excursion (string-append "tools/"
dir)
- (apply invoke "make" make-flags)))
- dirs)
- #t))
- (add-after 'install 'install-additional-tools
- (lambda* (#:key make-flags #:allow-other-keys)
- (for-each (lambda (dir)
- (with-directory-excursion (string-append "tools/"
dir)
- (apply invoke `("make" ,@make-flags
"install"))))
- dirs)
- #t))))))
+ (modify-phases %standard-phases
+ ;; The check phase expects to find the unit_tests executable in the
+ ;; "build/bin" directory, but it is actually in "build/tests".
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "tests/unit_tests")))))))
(inputs
- `(("gsl" ,gsl)
+ `(("apache-thrift:include" ,apache-thrift "include")
+ ("apache-thrift:lib" ,apache-thrift "lib")
+ ("gsl" ,gsl)
("boost" ,boost)
- ("libsvm" ,libsvm)
- ("readline" ,readline)
("gengetopt" ,gengetopt)
- ("log4cpp" ,log4cpp)))
+ ("libsvm" ,libsvm)
+ ("log4cpp" ,log4cpp)
+ ("python" ,python)
+ ("readline" ,readline)))
(native-inputs
- `(("autoconf" ,autoconf)
- ("automake" ,automake)
- ("perl" ,perl)))
+ `(("pkg-config" ,pkg-config)))
(home-page "http://seek.princeton.edu")
(synopsis "Gene co-expression search engine")
(description
- branch core-updates-frozen updated (95a4965 -> ab445eb), guix-commits, 2021/12/09
- 08/09: gnu: seek: Update to 1-1.196ed4c.,
guix-commits <=
- 04/09: gnu: Add htslib-for-samtools-1.2., guix-commits, 2021/12/09
- 02/09: gnu: python2-matplotlib: Fix mpl_toolkits module., guix-commits, 2021/12/09
- 03/09: gnu: python2-scipy: Override native inputs., guix-commits, 2021/12/09
- 09/09: gnu: python2-scikit-learn: Disable one more test., guix-commits, 2021/12/09
- 01/09: gnu: Add gfortran-7., guix-commits, 2021/12/09
- 05/09: gnu: Add samtools-1.2., guix-commits, 2021/12/09
- 06/09: gnu: miso: Update to 0.5.4-1.b714021., guix-commits, 2021/12/09
- 07/09: gnu: libsvm: Install header and library., guix-commits, 2021/12/09