summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-05-31 16:09:35 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-05-31 16:09:35 +0200
commit8c033085cc61365e7d685687b8d58bb0a2420663 (patch)
treeeeb4ff1b36b5ab5c1f256f611ef6a8bc3d7f4b39 /gnu
parent3acfbd481117f217e03b596bd234c7b0da9cf18f (diff)
downloadguix-8c033085cc61365e7d685687b8d58bb0a2420663.tar.gz
gnu: r-chipkernels: Use git-version and git-file-name.
* gnu/packages/bioinformatics.scm (r-chipkernels)[version]: Use git-version.
[source]: Use git-file-name.
Diffstat (limited to 'gnu')
-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 c0f9c0768b..f5a652832e 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -8080,14 +8080,14 @@ secondary structure and comparative analysis in R.")
         (revision "1"))
     (package
       (name "r-chipkernels")
-      (version (string-append "1.1-" revision "." (string-take commit 9)))
+      (version (git-version "1.1" revision commit))
       (source
        (origin
          (method git-fetch)
          (uri (git-reference
                (url "https://github.com/ManuSetty/ChIPKernels")
                (commit commit)))
-         (file-name (string-append name "-" version))
+         (file-name (git-file-name name version))
          (sha256
           (base32
            "14bj5qhjm1hsm9ay561nfbqi9wxsa7y487df2idsaaf6z10nw4v0"))))