summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-07 20:44:11 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-07 20:46:36 +0100
commit6fe323bf2ef7d3fd665ed4ed4f27498d67aa3655 (patch)
treecddfd4c1f5d6bebf9eed6ffdb81753ae3d6dfa11 /gnu
parentf0731591a5f63917f757d7a9ebde081616a85b6a (diff)
downloadguix-6fe323bf2ef7d3fd665ed4ed4f27498d67aa3655.tar.gz
gnu: kaiju: Fetch sources from git.
* gnu/packages/bioinformatics.scm (kaiju)[source]: Fetch from git.
[arguments]: Remove redundant installation step.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/bioinformatics.scm15
1 files changed, 7 insertions, 8 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 4d2b29c0ab..ce11066b54 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -3828,14 +3828,14 @@ data.")
     (name "kaiju")
     (version "1.6.2")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/bioinformatics-centre/kaiju/archive/v"
-                    version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/bioinformatics-centre/kaiju")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1kdn4rxs0kr9ibmrgrfcci71aa6j6gr71dbc8pff7731rpab6kj7"))))
+                "1c6gqir9djm3wpvfjm43i5vvvf36k3rsvr9fph76wlcy9aghpbah"))))
     (build-system gnu-build-system)
     (arguments
      `(#:tests? #f ; There are no tests.
@@ -3849,8 +3849,7 @@ data.")
              (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
                (mkdir-p bin)
                (chdir "..")
-               (copy-recursively "bin" bin)
-               (copy-recursively "util" bin))
+               (copy-recursively "bin" bin))
              #t)))))
     (inputs
      `(("perl" ,perl)