From 3acfbd481117f217e03b596bd234c7b0da9cf18f Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 31 May 2021 16:09:07 +0200 Subject: gnu: f-seq: Use git-version and git-file-name. * gnu/packages/bioinformatics.scm (f-seq)[version]: Use git-version. [source]: Use git-file-name. --- gnu/packages/bioinformatics.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 92a765c688..c0f9c0768b 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -9115,13 +9115,13 @@ (define-public f-seq (revision "1")) (package (name "f-seq") - (version (string-append "1.1-" revision "." (string-take commit 7))) + (version (git-version "1.1" revision commit)) (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/aboyle/F-seq") (commit commit))) - (file-name (string-append name "-" version)) + (file-name (git-file-name name version)) (sha256 (base32 "1nk33k0yajg2id4g59bc4szr58r2q6pdq42vgcw054m8ip9wv26h")) -- cgit v1.2.3