summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-07 20:52:44 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-07 21:41:55 +0100
commitb58d9e4aa29d90ae47748c4134e9da53f82c13f6 (patch)
tree2cfa19aa0ba44ec446dda879cb9d7852a081dfa5
parent5c1f35e71ba4176904b1909c7738d43c61eea475 (diff)
downloadguix-b58d9e4aa29d90ae47748c4134e9da53f82c13f6.tar.gz
gnu: metabat: Fetch sources from git.
* gnu/packages/bioinformatics.scm (metabat)[source]: Fetch from git.
-rw-r--r--gnu/packages/bioinformatics.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 5cd5d744cb..e729c173e8 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -4040,13 +4040,14 @@ form of assemblies or reads.")
     (version "2.12.1")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://bitbucket.org/berkeleylab/metabat/get/v"
-                           version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://bitbucket.org/berkeleylab/metabat.git")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "1hmvdalz3zj5sqqklg0l4npjdv37cv2hsdi1al9iby2ndxjs1b73"))
+         "0hyg2smw1nz69mfvjpk45xyyychmda92c80a0cv7baji84ri4iyn"))
        (patches (search-patches "metabat-fix-compilation.patch"))))
     (build-system scons-build-system)
     (arguments