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.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-23 00:22:41 +02:00
parent 645b6c7fc7
commit be59c48d15
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1153,13 +1153,13 @@ (define-public perceptualdiff
(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