summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-29 22:40:38 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-29 22:43:49 +0100
commitba185e2a63d7f4f48238953bf062d4f84514bc5d (patch)
tree5c606302310da4fe0d423692e76bee345cbe4cc5
parentd57b017ccc25d3c46b8fe4076f5e9bedb0eeda47 (diff)
downloadguix-ba185e2a63d7f4f48238953bf062d4f84514bc5d.tar.gz
gnu: zimg: Fetch sources from git.
* gnu/packages/image.scm (zimg)[source]: Fetch from git.
-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 e7a7121f15..c5347d6082 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -1144,13 +1144,14 @@ ISO/IEC 15444-1).")
     (version "2.5")
     (source
       (origin
-        (method url-fetch)
-        (uri (string-append "https://github.com/sekrit-twc/zimg/archive/"
-                            "release-" version ".tar.gz"))
-        (file-name (string-append name "-" version ".tar.gz"))
+        (method git-fetch)
+        (uri (git-reference
+              (url "https://github.com/sekrit-twc/zimg.git")
+              (commit (string-append "release-" version))))
+        (file-name (git-file-name name version))
         (sha256
          (base32
-          "0kbq2dy659645fmgxpzg38b6y6x82kwkydhc380kdkaikv2brcjh"))))
+          "05krggiifbl6hyg2j3z8qz2k7si84g1qg9snhsnf1ml7mrhqhhlr"))))
     (build-system gnu-build-system)
     (native-inputs
      `(("autoconf" ,autoconf)