guix-commits
[Top][All Lists]
Advanced

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

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


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

efraim pushed a commit to branch master
in repository guix.

commit 778f4430e0d3de0ec8e29926f636aca3ed2709e0
Author: Efraim Flashner <address@hidden>
Date:   Sun Sep 8 16:00:24 2019 +0300

    gnu: js-highlight: Don't use unstable tarball.
    
    * gnu/packages/javascript.scm (js-highlight)[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 ff6878f..aa2c17f 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -289,13 +289,14 @@ well as some other extensions from Ruby.")
     (name "js-highlight")
     (version "9.12.0")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/isagalaev/highlight.js/";
-                                  "archive/" version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/isagalaev/highlight.js";)
+                     (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1jjn9mj7fwq4zpr6is438bscf03b3q8jkj0k5c3fc6pkmjnhw939"))))
+                "12qz22qjpd6svj58pwgcwg2x2rzhihfdrxg6lgj39nfpaln6dris"))))
     (build-system minify-build-system)
     (arguments
      `(#:javascript-files '("src/highlight.js")))



reply via email to

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