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.
This commit is contained in:
Ricardo Wurmus 2021-05-31 16:09:07 +02:00
parent 09b50a6ec2
commit 3acfbd4811
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -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"))