summary refs log tree commit diff
path: root/gnu/packages/distributed.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-10-12 14:52:33 +0200
committerMarius Bakke <mbakke@fastmail.com>2019-10-12 18:39:56 +0200
commitecfc86a21dc257a2e495f69d9dc9d0fccb059d90 (patch)
tree7a08d44757a09d6ff5a49dd6091b7e970a555140 /gnu/packages/distributed.scm
parentc21dae9b890d4bff598fe55134fde13a189a2c07 (diff)
downloadguix-ecfc86a21dc257a2e495f69d9dc9d0fccb059d90.tar.gz
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.
Diffstat (limited to 'gnu/packages/distributed.scm')
-rw-r--r--gnu/packages/distributed.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/distributed.scm b/gnu/packages/distributed.scm
index 46f5cc535f..4e1acc4b67 100644
--- a/gnu/packages/distributed.scm
+++ b/gnu/packages/distributed.scm
@@ -18,6 +18,7 @@
 
 (define-module (gnu packages distributed)
   #:use-module (guix packages)
+  #:use-module (guix utils)
   #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
@@ -47,8 +48,9 @@
               (uri (git-reference
                     (url "https://github.com/boinc/boinc.git")
                     (commit (string-append "client_release/"
-                                           "7.16/"
-                                           version))))
+                                           (version-major+minor version)
+                                           "/" version))))
+              (file-name (git-file-name "boinc" version))
               (sha256
                (base32
                 "0w2qimcwyjhapk3z7zyq7jkls23hsnmm35iw7m4s4if04fp70dx0"))))