summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2020-12-20 15:53:09 +0100
committerMarius Bakke <marius@gnu.org>2020-12-20 16:30:42 +0100
commitca27b0e528c2a2cee700befe7bd50a2335eed753 (patch)
treebe357574113efdcaeeb41e60e57ad5a63ff73371
parent4ed96d6831f6970d6584f1b3587878199a24d953 (diff)
downloadguix-ca27b0e528c2a2cee700befe7bd50a2335eed753.tar.gz
gnu: kentutils: Add a file name for the "samtabix" input.
* gnu/packages/bioinformatics.scm (kentutils)[native-inputs]: For "samtabix",
add a file name on the origin.
-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)