mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: snap-aligner: Fetch sources from git.
* gnu/packages/bioinformatics.scm (snap-aligner)[source]: Fetch from git. [arguments]: Use INVOKE.
This commit is contained in:
parent
6236524409
commit
e0a8fc85dd
1 changed files with 7 additions and 7 deletions
|
@ -5906,20 +5906,20 @@ (define-public snap-aligner
|
|||
(name "snap-aligner")
|
||||
(version "1.0beta.18")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://github.com/amplab/snap/archive/v"
|
||||
version ".tar.gz"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/amplab/snap.git")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1vnsjwv007k1fl1q7d681kbwn6bc66cgw6h16hym6gvyy71qv2ly"))))
|
||||
"01w3qq4wm07z73vky0cfwlmrbf50n3w722cxrlzxfi99mnb808d8"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(replace 'check (lambda _ (zero? (system* "./unit_tests"))))
|
||||
(replace 'check (lambda _ (invoke "./unit_tests") #t))
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
|
|
Loading…
Reference in a new issue