gnu: kaiju: Fetch sources from git.

* gnu/packages/bioinformatics.scm (kaiju)[source]: Fetch from git.
[arguments]: Remove redundant installation step.
This commit is contained in:
Ricardo Wurmus 2018-11-07 20:44:11 +01:00
parent f0731591a5
commit 6fe323bf2e
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 7 additions and 8 deletions

View File

@ -3828,14 +3828,14 @@ data.")
(name "kaiju") (name "kaiju")
(version "1.6.2") (version "1.6.2")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append (uri (git-reference
"https://github.com/bioinformatics-centre/kaiju/archive/v" (url "https://github.com/bioinformatics-centre/kaiju")
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
"1kdn4rxs0kr9ibmrgrfcci71aa6j6gr71dbc8pff7731rpab6kj7")))) "1c6gqir9djm3wpvfjm43i5vvvf36k3rsvr9fph76wlcy9aghpbah"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:tests? #f ; There are no tests. `(#:tests? #f ; There are no tests.
@ -3849,8 +3849,7 @@ data.")
(let ((bin (string-append (assoc-ref outputs "out") "/bin"))) (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
(mkdir-p bin) (mkdir-p bin)
(chdir "..") (chdir "..")
(copy-recursively "bin" bin) (copy-recursively "bin" bin))
(copy-recursively "util" bin))
#t))))) #t)))))
(inputs (inputs
`(("perl" ,perl) `(("perl" ,perl)