guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/12: gnu: BOINC: Add a source file name.


From: guix-commits
Subject: 03/12: gnu: BOINC: Add a source file name.
Date: Sat, 12 Oct 2019 12:43:29 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit ecfc86a21dc257a2e495f69d9dc9d0fccb059d90
Author: Marius Bakke <address@hidden>
Date:   Sat Oct 12 14:52:33 2019 +0200

    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.
---
 gnu/packages/distributed.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/distributed.scm b/gnu/packages/distributed.scm
index 46f5cc5..4e1acc4 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"))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]