[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/09: gnu: bamm: Fetch from git and use INVOKE.
From: |
Ricardo Wurmus |
Subject: |
05/09: gnu: bamm: Fetch from git and use INVOKE. |
Date: |
Sat, 20 Oct 2018 17:40:11 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit c793f4d8fb25044994b2694632c6d6f3d40b49b7
Author: Ricardo Wurmus <address@hidden>
Date: Sat Oct 20 22:03:02 2018 +0200
gnu: bamm: Fetch from git and use INVOKE.
* gnu/packages/bioinformatics.scm (bamm)[source]: Fetch from git.
[arguments]: Use INVOKE and return #T unconditionally.
---
gnu/packages/bioinformatics.scm | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 56a566f..4192a6c 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -167,15 +167,16 @@ structure of the predicted RNA.")
(name "bamm")
(version "1.7.3")
(source (origin
- (method url-fetch)
+ (method git-fetch)
;; BamM is not available on pypi.
- (uri (string-append
- "https://github.com/Ecogenomics/BamM/archive/"
- version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (uri (git-reference
+ (url "https://github.com/Ecogenomics/BamM.git")
+ (commit version)
+ (recursive? #t)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1f35yxp4pc8aadsvbpg6r4kg2jh4fkjci0iby4iyljm6980sac0s"))
+ "1p83ahi984ipslxlg4yqy1gdnya9rkn1v71z8djgxkm9d2chw4c5"))
(modules '((guix build utils)))
(snippet
`(begin
@@ -197,11 +198,12 @@ structure of the predicted RNA.")
(lambda _
(with-directory-excursion "c"
(let ((sh (which "sh")))
+ (for-each make-file-writable (find-files "." ".*"))
;; Use autogen so that 'configure' works.
(substitute* "autogen.sh" (("/bin/sh") sh))
(setenv "CONFIG_SHELL" sh)
- (substitute* "configure" (("/bin/sh") sh))
- (zero? (system* "./autogen.sh"))))))
+ (invoke "./autogen.sh")))
+ #t))
(delete 'build)
;; Run tests after installation so compilation only happens once.
(delete 'check)
@@ -229,7 +231,8 @@ structure of the predicted RNA.")
;; There are 2 errors printed, but they are safe to ignore:
;; 1) [E::hts_open_format] fail to open file ...
;; 2) samtools view: failed to open ...
- (zero? (system* "nosetests")))))))
+ (invoke "nosetests")
+ #t)))))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
- branch master updated (bfa47f1 -> 21c8374), Ricardo Wurmus, 2018/10/20
- 03/09: gnu: clipper: Update to 1.2.1., Ricardo Wurmus, 2018/10/20
- 08/09: gnu: blast+: Use INVOKE and return #T unconditionally., Ricardo Wurmus, 2018/10/20
- 09/09: gnu: bowtie: Update to 2.3.4.3., Ricardo Wurmus, 2018/10/20
- 01/09: gnu: Add bedtools-2.26., Ricardo Wurmus, 2018/10/20
- 06/09: gnu: bedops: Use INVOKE., Ricardo Wurmus, 2018/10/20
- 04/09: gnu: aragorn: Use invoke and simplify., Ricardo Wurmus, 2018/10/20
- 02/09: gnu: python-pybedtools: Update to 0.7.10., Ricardo Wurmus, 2018/10/20
- 05/09: gnu: bamm: Fetch from git and use INVOKE.,
Ricardo Wurmus <=
- 07/09: gnu: bedops: Update to 2.4.35., Ricardo Wurmus, 2018/10/20