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")) (revision "1"))
(package (package
(name "r-chipkernels") (name "r-chipkernels")
(version (string-append "1.1-" revision "." (string-take commit 9))) (version (git-version "1.1" revision commit))
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/ManuSetty/ChIPKernels") (url "https://github.com/ManuSetty/ChIPKernels")
(commit commit))) (commit commit)))
(file-name (string-append name "-" version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"14bj5qhjm1hsm9ay561nfbqi9wxsa7y487df2idsaaf6z10nw4v0")))) "14bj5qhjm1hsm9ay561nfbqi9wxsa7y487df2idsaaf6z10nw4v0"))))