guix-commits
[Top][All Lists]
Advanced

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

08/08: gnu: unittest-cpp: Use 'git-fetch'.


From: guix-commits
Subject: 08/08: gnu: unittest-cpp: Use 'git-fetch'.
Date: Thu, 20 Dec 2018 15:38:47 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 8aedb3ad8ac9052824bd5d7acce7e5ca4abf28be
Author: Efraim Flashner <address@hidden>
Date:   Thu Dec 20 22:37:25 2018 +0200

    gnu: unittest-cpp: Use 'git-fetch'.
    
    * gnu/packages/check.scm (unittest-cpp)[source]: Use 'git-fetch'.
---
 gnu/packages/check.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 28d3a46..2d669a3 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2098,13 +2098,13 @@ retried.")
     (name "unittest-cpp")
     (version "2.0.0")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/unittest-cpp/unittest-cpp/archive/v";
-                    version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/unittest-cpp/unittest-cpp";)
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
-               (base32 
"1fgmna2la7z4pwwy2gd10gpgi2q1fk89npjfvkmzvhkxhyc231bl"))))
+               (base32 
"0sxb3835nly1jxn071f59fwbdzmqi74j040r81fanxyw3s1azw0i"))))
     (arguments
      `(#:tests? #f))                     ; It's run after build automatically.
     (build-system cmake-build-system)



reply via email to

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