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

View file

@ -8080,14 +8080,14 @@ (define-public r-chipkernels
(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"))))