guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

39/41: gnu: zimg: Fetch sources from git.


From: guix-commits
Subject: 39/41: gnu: zimg: Fetch sources from git.
Date: Thu, 29 Nov 2018 16:44:12 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit ba185e2a63d7f4f48238953bf062d4f84514bc5d
Author: Ricardo Wurmus <address@hidden>
Date:   Thu Nov 29 22:40:38 2018 +0100

    gnu: zimg: Fetch sources from git.
    
    * gnu/packages/image.scm (zimg)[source]: Fetch from git.
---
 gnu/packages/image.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index e7a7121..c5347d6 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]