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

* gnu/packages/check.scm (unittest-cpp)[source]: Use 'git-fetch'.
This commit is contained in:
Efraim Flashner 2018-12-20 22:37:25 +02:00
parent 0afd0660c2
commit 8aedb3ad8a
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 6 additions and 6 deletions

View File

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