aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-05-31 16:09:07 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-05-31 16:09:07 +0200
commit3acfbd481117f217e03b596bd234c7b0da9cf18f (patch)
treee412caa1d8a3ef285b286af9bdce60ce0b85569e
parent09b50a6ec25eadfdc60b7f77bb67816123c939df (diff)
downloadguix-3acfbd481117f217e03b596bd234c7b0da9cf18f.tar
guix-3acfbd481117f217e03b596bd234c7b0da9cf18f.tar.gz
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.
-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 92a765c688..c0f9c0768b 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -9115,13 +9115,13 @@ browser.")
(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"))