summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-12-27 15:12:30 +0200
committerEfraim Flashner <efraim@flashner.co.il>2018-12-27 15:33:58 +0200
commit83541fb678d0d5428cffdb968092514b64b260e4 (patch)
tree7eeb5f45ee721f854979df9893a73491710cea1f /gnu/packages
parentc180017b6f7e9b6d23238c1fbaac986c435cd35e (diff)
downloadguix-83541fb678d0d5428cffdb968092514b64b260e4.tar.gz
gnu: viewnior: Don't use unstable tarball.
* gnu/packages/image-viewers.scm (viewnior)[source]: Use 'git-fetch'.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/image-viewers.scm10
1 files changed, 6 insertions, 4 deletions
diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index 62f6674691..877c4a7866 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -238,12 +238,14 @@ it and customize it for your needs.")
     (version "1.7")
     (source
       (origin
-        (method url-fetch)
-        (uri (string-append "https://github.com/hellosiyan/Viewnior/archive/"
-                            name "-" version ".tar.gz"))
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/hellosiyan/Viewnior.git")
+               (commit (string-append name "-" version))))
+        (file-name (git-file-name name version))
         (sha256
          (base32
-          "1rpkk721s3xas125q3g0fl11b5zsrmzv9pzl6ddzcy4sj2rd7ymr"))))
+          "0y4hk3vq8psba5k615w18qj0kbdfp5w0lm98nv5apy6hmcpwfyig"))))
     (build-system meson-build-system)
     (arguments
      '(#:phases