gnu: catimg: Fetch sources from git.

* gnu/packages/image-viewers.scm (catimg)[source]: Fetch from git.
This commit is contained in:
Ricardo Wurmus 2018-11-29 22:25:27 +01:00
parent 92f08e14f2
commit 6f6f9267b6
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 6 additions and 5 deletions

View File

@ -288,13 +288,14 @@ your images. Among its features are:
(version "2.4.0") (version "2.4.0")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/posva/catimg/archive" (uri (git-reference
"/v" version ".tar.gz")) (url "https://github.com/posva/catimg.git")
(file-name (string-append name "-" version ".tar.gz")) (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1rwgbq2imd5l4nql5hrz7rr5f4gz8aad1amlf0j3cxir8slpbd1y")))) "1sk74nfc1aklg784pzknr37dyz4k7h9fck3mifpn43rav5qy2zpy"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:tests? #f ; no tests `(#:tests? #f ; no tests