aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-29 22:25:27 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-29 22:43:49 +0100
commit6f6f9267b6a2b5f70ce376d2268cf138782831a3 (patch)
treeca95c494a83d74dc44b18222f4710c3c923ff19c /gnu/packages
parent92f08e14f279457551db3f909b94ae62a83cc80d (diff)
downloadpatches-6f6f9267b6a2b5f70ce376d2268cf138782831a3.tar
patches-6f6f9267b6a2b5f70ce376d2268cf138782831a3.tar.gz
gnu: catimg: Fetch sources from git.
* gnu/packages/image-viewers.scm (catimg)[source]: Fetch from git.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/image-viewers.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index 6a3e688d32..8e70f1fdfc 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -288,13 +288,14 @@ your images. Among its features are:
(version "2.4.0")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://github.com/posva/catimg/archive"
- "/v" version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/posva/catimg.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1rwgbq2imd5l4nql5hrz7rr5f4gz8aad1amlf0j3cxir8slpbd1y"))))
+ "1sk74nfc1aklg784pzknr37dyz4k7h9fck3mifpn43rav5qy2zpy"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f ; no tests