guix_mirror_bot pushed a commit to branch c++-team
in repository guix.

commit 32ff47ab1777a124865e7c4efe81eb6f45afa965
Author: Aaron Covrig <aaron.covrig...@ieee.org>
AuthorDate: Fri Mar 21 13:38:38 2025 -0400

    gnu: googletest: Update to 1.17.0.
    
    * gnu/packages/check.scm (googletest): Update to 1.17.0
    (googletest-1.17): Delete variable.
    * gnu/packages/glib.scm (sdbus-c++): Replace googletest-1.17 with
    googletest.
    
    Change-Id: I1ac9a52ff4bf2653ef02c9bdbe22a471eef3b78b
---
 gnu/packages/check.scm | 21 +++------------------
 gnu/packages/glib.scm  |  2 +-
 2 files changed, 4 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 9660cff1c7..c5c1303748 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -1134,16 +1134,16 @@ package.")
 (define-public googletest
   (package
     (name "googletest")
-    (version "1.12.1")
+    (version "1.17.0")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/google/googletest";)
-             (commit (string-append "release-" version))))
+             (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1cv55x3amwrvfan9pr8dfnicwr8r6ar3yf6cg9v6nykd6m2v3qsv"))))
+        (base32 "1zn701fgmbk29y45p49sajaswm01i2bv89ds2kkbiq8i0p2cr08w"))))
     (build-system cmake-build-system)
     (arguments
      `(#:tests? #f
@@ -1157,21 +1157,6 @@ discovery, death tests, assertions, parameterized tests 
and XML test report
 generation.")
     (license license:bsd-3)))
 
-(define-public googletest-1.17
-  (package
-    (inherit googletest)
-    (name "googletest")
-    (version "1.17.0")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-              (url "https://github.com/google/googletest";)
-              (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "1zn701fgmbk29y45p49sajaswm01i2bv89ds2kkbiq8i0p2cr08w"))))))
-
 (define-public googletest-1.8
   (package
     (inherit googletest)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 1efaa8b8ab..645d63fa8f 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -1329,7 +1329,7 @@ Some codes examples can be find at:
             (lambda* (#:rest args)
               (apply (assoc-ref gnu:%standard-phases 'check)
                      #:test-target "sdbus-c++-unit-tests" args))))))
-    (native-inputs (list googletest-1.17 pkg-config))
+    (native-inputs (list googletest pkg-config))
     (inputs (list expat))
     (propagated-inputs (list elogind)) ;required by sdbus-c++.pc
     (home-page "https://github.com/Kistler-Group/sdbus-cpp";)

Reply via email to