aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-12-20 21:02:41 +0200
committerEfraim Flashner <efraim@flashner.co.il>2018-12-20 22:38:15 +0200
commit28bcf809022056875986171adc4134f31a59ab16 (patch)
tree93f6cccbc93f7d5c96b046394ef7b3386281cb37 /gnu
parent46756754df003e168527c2f855a5cf43ce31a05f (diff)
downloadpatches-28bcf809022056875986171adc4134f31a59ab16.tar
patches-28bcf809022056875986171adc4134f31a59ab16.tar.gz
gnu: catch2: Use git-fetch.
* gnu/packages/check.scm (catch2)[source]: Use git-fetch.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/check.scm10
1 files changed, 6 insertions, 4 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 5bf849d666..684dddcb07 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -210,12 +210,14 @@ multi-paradigm automated test framework for C++ and Objective-C.")
(version "1.12.2")
(home-page "https://github.com/catchorg/Catch2")
(source (origin
- (method url-fetch)
- (uri (string-append home-page "/archive/v" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/catchorg/Catch2")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0g2ysxc6adqca5wh7nsicnxb9wkxg75cd5izjsl39rcj0v903gr7"))
- (file-name (string-append name "-" version ".tar.gz"))))
+ "1gdp5wm8khn02g2miz381llw3191k7309qj8s3jd6sasj01rhf23"))))
(build-system cmake-build-system)
(synopsis "Automated test framework for C++ and Objective-C")
(description "Catch2 stands for C++ Automated Test Cases in Headers and is