summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-07 19:55:50 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-07 19:55:50 +0100
commit91b71cfbba03ea484cc6028b3384bf4609cbcf14 (patch)
treeb9be55e1504e6baa28ef68bb4712a2a9ed9ec668
parent7ca49ab57ae3ba80c8ba395d90c046d9220886c8 (diff)
downloadguix-91b71cfbba03ea484cc6028b3384bf4609cbcf14.tar.gz
gnu: fxtract: Fetch sources from git.
* gnu/packages/bioinformatics.scm (fxtract)[source]: Fetch from git.
-rw-r--r--gnu/packages/bioinformatics.scm14
1 files changed, 6 insertions, 8 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 088d3f5dcb..9f0b8025da 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -2768,16 +2768,14 @@ genes in incomplete assemblies or complete genomes.")
       (version "2.3")
       (source
        (origin
-         (method url-fetch)
-         (uri (string-append
-               "https://github.com/ctSkennerton/fxtract/archive/"
-               version ".tar.gz"))
-         (file-name (string-append "ctstennerton-util-"
-                                   (string-take util-commit 7)
-                                   "-checkout"))
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/ctSkennerton/fxtract.git")
+               (commit version)))
+         (file-name (git-file-name name version))
          (sha256
           (base32
-           "0275cfdhis8517hm01is62062swmi06fxzifq7mr3knbbxjlaiwj"))))
+           "0hab3gpwf4w9s87qlbswq6ws1qqybh4dcqk79q1ahyldzai5fgp5"))))
       (build-system gnu-build-system)
       (arguments
        `(#:make-flags (list