guix-commits
[Top][All Lists]
Advanced

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

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


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

efraim pushed a commit to branch master
in repository guix.

commit 4151447897dbc0ea78d192278371afb6b1218b5f
Author: Efraim Flashner <address@hidden>
Date:   Sun Sep 8 16:02:40 2019 +0300

    gnu: js-selectize: Don't use unstable tarball.
    
    * gnu/packages/javascript.scm (js-selectize)[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 aa2c17f..ed338c7 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -337,13 +337,14 @@ HTML tables with minimal effort.")
     (name "js-selectize")
     (version "0.12.4")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/selectize/selectize.js/";
-                                  "archive/v" version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/selectize/selectize.js";)
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "0756p49aaz34mw2dx8k1gxf210mngfrri25vkba0j7wihd2af8gn"))))
+                "1l6gdl9v9z0xb1yl81ssaqm067imjbxwbpa76nd0cyrx0jskih22"))))
     (build-system minify-build-system)
     (arguments `(#:javascript-files '("src/selectize.js")))
     (home-page "http://selectize.github.io/selectize.js/";)



reply via email to

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