From 8c033085cc61365e7d685687b8d58bb0a2420663 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 31 May 2021 16:09:35 +0200 Subject: 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. --- gnu/packages/bioinformatics.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu') 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")))) -- cgit v1.2.3