summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/bioinformatics.scm18
1 files changed, 10 insertions, 8 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 172bb85791..255b90ef05 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -11448,14 +11448,16 @@ models.  TADbit is complemented by TADkit for visualizing 3D models.")
              #t)))))
     (native-inputs
      `(("samtabix"
-        ,(origin
-           (method git-fetch)
-           (uri (git-reference
-                 (url "http://genome-source.cse.ucsc.edu/samtabix.git")
-                 (commit "10fd107909c1ac4d679299908be4262a012965ba")))
-           (sha256
-            (base32
-             "0c1nj64l42v395sa84n7az43xiap4i6f9n9dfz4058aqiwkhkmma"))))))
+        ,(let ((commit "10fd107909c1ac4d679299908be4262a012965ba"))
+           (origin
+             (method git-fetch)
+             (uri (git-reference
+                   (url "http://genome-source.cse.ucsc.edu/samtabix.git")
+                   (commit commit)))
+             (file-name (git-file-name "samtabix" (string-take commit 7)))
+             (sha256
+              (base32
+               "0c1nj64l42v395sa84n7az43xiap4i6f9n9dfz4058aqiwkhkmma")))))))
     (inputs
      `(("zlib" ,zlib)
        ("tcsh" ,tcsh)