gnu: BOINC: Add a source file name.

While at it, future-proof the URL as well.

* gnu/packages/distributed.scm (boinc-client)[source](file-name): New field.
This commit is contained in:
Marius Bakke 2019-10-12 14:52:33 +02:00
parent c21dae9b89
commit ecfc86a21d
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -18,6 +18,7 @@
(define-module (gnu packages distributed) (define-module (gnu packages distributed)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix utils)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
@ -47,8 +48,9 @@ (define-public boinc-client
(uri (git-reference (uri (git-reference
(url "https://github.com/boinc/boinc.git") (url "https://github.com/boinc/boinc.git")
(commit (string-append "client_release/" (commit (string-append "client_release/"
"7.16/" (version-major+minor version)
version)))) "/" version))))
(file-name (git-file-name "boinc" version))
(sha256 (sha256
(base32 (base32
"0w2qimcwyjhapk3z7zyq7jkls23hsnmm35iw7m4s4if04fp70dx0")))) "0w2qimcwyjhapk3z7zyq7jkls23hsnmm35iw7m4s4if04fp70dx0"))))