gnu: grim: Don't use unstable tarball.

* gnu/packages/image.scm (grim)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-02-19 15:12:18 +01:00
parent 3d4c4fc2a0
commit 90c7ea44cc
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79

View File

@ -1591,12 +1591,13 @@ identical visual appearance.")
(version "1.1")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/emersion/grim/archive/v" version
".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/emersion/grim.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1zxj1p5rgrhcq88frq2ccc38b7v0hk22mvqwjs4ykrpyhgkxwir1"))))
(base32 "1bcvkggqszcwy6hg8g4mch3yr25ic0baafbd90af5s5mrhrjxxxz"))))
(build-system meson-build-system)
(native-inputs `(("pkg-config" ,pkg-config)))
(inputs `(("cairo" ,cairo)