aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/image-viewers.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-29 22:25:11 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-29 22:43:49 +0100
commit92f08e14f279457551db3f909b94ae62a83cc80d (patch)
tree877cf4ea186476eb547d251eb8e57da77d55c65b /gnu/packages/image-viewers.scm
parent86caf997be3643a1c6c3c8664822e22cd0b4186b (diff)
downloadpatches-92f08e14f279457551db3f909b94ae62a83cc80d.tar
patches-92f08e14f279457551db3f909b94ae62a83cc80d.tar.gz
gnu: sxiv: Fetch sources from git.
* gnu/packages/image-viewers.scm (sxiv)[source]: Fetch from git.
Diffstat (limited to 'gnu/packages/image-viewers.scm')
-rw-r--r--gnu/packages/image-viewers.scm13
1 files changed, 7 insertions, 6 deletions
diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index fce2b021bd..6a3e688d32 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -28,6 +28,7 @@
(define-module (gnu packages image-viewers)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix packages)
#:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
@@ -191,14 +192,14 @@ It is the default image viewer on LXDE desktop environment.")
(name "sxiv")
(version "24")
(source (origin
- (method url-fetch)
- (uri (string-append
- "https://github.com/muennich/sxiv/archive/v"
- version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/muennich/sxiv.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "044i077li6m4zsz2fswlcdi2m0sbr9mwws1h3k1zjaln29fw87ai"))))
+ "020n1bdxbzqncprh8a4rnjzc4frp335yxbqh5w6dr970f7n5qm8d"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no check target