summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-07 20:27:10 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-07 20:27:10 +0100
commit8d75adbf03ea8840d4c1e41a548861066e9ff8c3 (patch)
tree2fa6231ea965e92b9777c58424a8f90f28c35869
parent152bebd9e0c7fc0863d6b82af014e61a8cb6a488 (diff)
downloadguix-8d75adbf03ea8840d4c1e41a548861066e9ff8c3.tar.gz
gnu: grit: Fetch sources from git.
* gnu/packages/bioinformatics.scm (grit)[source]: Fetch from git.
-rw-r--r--gnu/packages/bioinformatics.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 5337b7bf02..c7848b6ece 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -2893,14 +2893,14 @@ association studies (GWAS).")
     (name "grit")
     (version "2.0.2")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/nboley/grit/archive/"
-                    version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/nboley/grit.git")
+                    (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "157in84dj70wimbind3x7sy1whs3h57qfgcnj2s6lrd38fbrb7mj"))))
+                "0b1lhf87n1qd0faw19s4r6i3cfz7k68xnnn0l7r97lqc5i3hg2rr"))))
     (build-system python-build-system)
     (arguments
      `(#:python ,python-2