aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/check.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-03-28 09:33:34 +0100
committerEfraim Flashner <efraim@flashner.co.il>2019-03-28 12:14:15 +0200
commitd5640c587f141ff60127848dc95528ca1a4f1b14 (patch)
treecf77a07aca2f188dded4a5d7e0fbbc9e5a7ffaea /gnu/packages/check.scm
parentd98fb5603bd6fe9a7a7079aa143397465cb5d923 (diff)
downloadguix-d5640c587f141ff60127848dc95528ca1a4f1b14.tar
guix-d5640c587f141ff60127848dc95528ca1a4f1b14.tar.gz
gnu: googletest: Don't use unstable tarball.
* gnu/packages/check.scm (googletest)[source]: Download using git-fetch. * gnu/packages/crypto.scm (encfs)[arguments]: Adjust accordingly. * gnu/packages/gnucash.scm (gnucash)[arguments]: Same. * gnu/packages/terminals.scm (eternalterminal)[arguments]: Same. * gnu/packages/graphics.scm (ogre)[arguments]: Same. Remove now unnecessary custom 'pre-build phase.
Diffstat (limited to 'gnu/packages/check.scm')
-rw-r--r--gnu/packages/check.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 9a88a8d873..a38abf0b5b 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -485,13 +485,14 @@ test coverage and has a web user interface that will refresh automatically.")
(version "1.8.0")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://github.com/google/googletest/archive/"
- "release-" version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/google/googletest.git")
+ (commit (string-append "release-" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1n5p1m2m3fjrjdj752lf92f9wq3pl5cbsfrb49jqbg52ghkz99jq"))))
+ "0bjlljmbf8glnd9qjabx73w6pd7ibv43yiyngqvmvgxsabzr8399"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))