summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-02-19 15:12:18 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2019-02-19 15:34:09 +0100
commit90c7ea44cc82f6748957eeed88a22f6f11223ee0 (patch)
tree95085f3767e992172e1fd0b21bfa993a21a69328
parent3d4c4fc2a01dce41f3eade34a26e6cc14ca515a5 (diff)
downloadguix-90c7ea44cc82f6748957eeed88a22f6f11223ee0.tar.gz
gnu: grim: Don't use unstable tarball.
* gnu/packages/image.scm (grim)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
-rw-r--r--gnu/packages/image.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 1c1411ff77..9f25578050 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -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)