summary refs log tree commit diff
path: root/gnu/packages/image.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-04-23 00:22:41 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2019-04-23 18:13:05 +0200
commitbe59c48d15ccfdec2d935801e632e2c5dcf11d07 (patch)
treef69e24e3a732932aa72d88233977d0f760070d59 /gnu/packages/image.scm
parent645b6c7fc72cf15b549de6a01b63174df18622d3 (diff)
downloadguix-be59c48d15ccfdec2d935801e632e2c5dcf11d07.tar.gz
gnu: perceptualdiff: Don't use unstable tarball.
It's still broken by freeimage, unfortunately.

* gnu/packages/image.scm (perceptualdiff)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
Diffstat (limited to 'gnu/packages/image.scm')
-rw-r--r--gnu/packages/image.scm14
1 files changed, 7 insertions, 7 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 78e155fa39..4010fd0ace 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -1153,13 +1153,13 @@ the programmer.")
     (version "1.3")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/myint/perceptualdiff/archive/v"
-                           version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
-        (sha256
-         (base32
-          "0zl6xmp971fffg7fzcz2fbgxg5x2w7l8qa65c008i4kbkc9016ps"))))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/myint/perceptualdiff.git")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0yys55f9i9g3wjjg0j2m0p0k21zwnid8520a8lrr30khm4k5gibp"))))
     (build-system cmake-build-system)
     (inputs `(("freeimage" ,freeimage)))
     (arguments