me
/
guix
Archived
1
0
Fork 0

gnu: snap-aligner: Fetch sources from git.

* gnu/packages/bioinformatics.scm (snap-aligner)[source]: Fetch from git.
[arguments]: Use INVOKE.
master
Ricardo Wurmus 2018-11-07 23:06:28 +01:00
parent 6236524409
commit e0a8fc85dd
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 7 additions and 7 deletions

View File

@ -5906,20 +5906,20 @@ optionally compressed by gzip.")
(name "snap-aligner") (name "snap-aligner")
(version "1.0beta.18") (version "1.0beta.18")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append (uri (git-reference
"https://github.com/amplab/snap/archive/v" (url "https://github.com/amplab/snap.git")
version ".tar.gz")) (commit (string-append "v" version))))
(file-name (string-append name "-" version ".tar.gz")) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1vnsjwv007k1fl1q7d681kbwn6bc66cgw6h16hym6gvyy71qv2ly")))) "01w3qq4wm07z73vky0cfwlmrbf50n3w722cxrlzxfi99mnb808d8"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:phases '(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'configure) (delete 'configure)
(replace 'check (lambda _ (zero? (system* "./unit_tests")))) (replace 'check (lambda _ (invoke "./unit_tests") #t))
(replace 'install (replace 'install
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))