summary refs log tree commit diff
path: root/gnu/packages/bioinformatics.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-05-31 16:10:20 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-05-31 16:10:20 +0200
commitf463f376e91ccc1fe4ab68d5e822b5d71a1234f5 (patch)
treeb762de69b67ac305461e2c2e9d2c78ae9f3d3200 /gnu/packages/bioinformatics.scm
parentd1e1c02e2850a0fd9c06c5884c7853d511948488 (diff)
downloadguix-f463f376e91ccc1fe4ab68d5e822b5d71a1234f5.tar.gz
gnu: bits: Use git-version and git-file-name.
* gnu/packages/bioinformatics.scm (bits)[version]: Use git-version.
[source]: Use git-file-name.
Diffstat (limited to 'gnu/packages/bioinformatics.scm')
-rw-r--r--gnu/packages/bioinformatics.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 1adcc685e2..1f018befe6 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -8212,13 +8212,13 @@ tools for sequence analysis into a seamless whole.")
       (name "bits")
       ;; The version is 2.13.0 even though no release archives have been
       ;; published as yet.
-      (version (string-append "2.13.0-" revision "." (string-take commit 9)))
+      (version (git-version "2.13.0" revision commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
                       (url "https://github.com/arq5x/bits")
                       (commit commit)))
-                (file-name (string-append name "-" version "-checkout"))
+                (file-name (git-file-name name version))
                 (sha256
                  (base32
                   "17n2kffk4kmhivd8c98g2vr6y1s23vbg4sxlxs689wni66797hbs"))))