summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-08 08:35:20 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-08 08:53:53 +0100
commit4031e7f1ec1deac8ebf76c047b40b1ac4ffeaab2 (patch)
treea9043d6e14419aae9fbf4b6ccf293b8d6bc272cc
parent6a7d9ee39fe58184191f922f8add8c9a99a99caf (diff)
downloadguix-4031e7f1ec1deac8ebf76c047b40b1ac4ffeaab2.tar.gz
gnu: ngs-sdk: Fetch sources from git.
* gnu/packages/bioinformatics.scm (ngs-sdk)[source]: Fetch from git.
-rw-r--r--gnu/packages/bioinformatics.scm19
1 files changed, 9 insertions, 10 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 0f28dfe37e..065f3adc11 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -5237,16 +5237,15 @@ Roche 454, Ion Torrent and Pacific BioSciences SMRT.")
   (package
     (name "ngs-sdk")
     (version "1.3.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri
-        (string-append "https://github.com/ncbi/ngs/archive/"
-                       version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32
-         "1wiyf4c6nm2j87pv015cbi0qny5byf3pbvcw3likifz5dl56ag40"))))
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/ncbi/ngs.git")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1l8p81azb9p6nsdfai0hvyai33z6nsgy7hj30arh9b5kb6m443dx"))))
     (build-system gnu-build-system)
     (arguments
      `(#:parallel-build? #f ; not supported