guix-commits
[Top][All Lists]
Advanced

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

10/10: gnu: js-respond: Don't use unstable-tarball.


From: guix-commits
Subject: 10/10: gnu: js-respond: Don't use unstable-tarball.
Date: Sun, 8 Sep 2019 12:04:08 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 97f6004ca194a764bc7829f1ebdc292ef01f9b2b
Author: Efraim Flashner <address@hidden>
Date:   Sun Sep 8 16:12:50 2019 +0300

    gnu: js-respond: Don't use unstable-tarball.
    
    * gnu/packages/javascript.scm (js-respond)[source]: Use 'git-fetch'.
---
 gnu/packages/javascript.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index ba0ccdd..2390c23 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -144,13 +144,14 @@ be able to view it naturally and easily.")))
     (name "js-respond")
     (version "1.4.2")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/scottjehl/Respond/";
-                                  "archive/" version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/scottjehl/Respond";)
+                     (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "0ds1ya2a185jp93mdn07159c2x8zczwi960ykrawpp62bwk2n93d"))))
+                "00xid731rirc7sdy1gc8qal3v9g0agr2qx15hm4x97l1lcbylyn2"))))
     (build-system minify-build-system)
     (arguments
      `(#:javascript-files '("src/matchmedia.addListener.js"



reply via email to

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