(define-module (skg packages googletest) #:use-module (guix) #:use-module (guix build-system gnu) #:use-module (guix build-system cmake) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) #:use-module (gnu packages python)) (define-public googletest (package (name "googletest") (version "1.14.0") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/google/googletest.git") (commit "v1.14.0"))) (file-name (git-file-name name version)) (sha256 (base32 "19c7f248rkg302yrbl5x7irfyi6a9whbpf45wn4bn9fk0625qi5p")))) (build-system cmake-build-system) (arguments `(#:configure-flags '("-DBUILD_SHARED_LIBS=ON"))) (native-inputs `(("python" ,python-wrapper))) (home-page "https://github.com/google/googletest/") (synopsis "Test discovery and XUnit test framework") (description "Google Test features an XUnit test framework, automated test discovery, death tests, assertions, parameterized tests and XML test report generation.") (license license:bsd-3)))