aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/javascript.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-09-08 16:02:40 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-09-08 19:03:44 +0300
commit4151447897dbc0ea78d192278371afb6b1218b5f (patch)
tree0b9ee641888b1e0495df45d34d0102969b688235 /gnu/packages/javascript.scm
parent778f4430e0d3de0ec8e29926f636aca3ed2709e0 (diff)
downloadguix-4151447897dbc0ea78d192278371afb6b1218b5f.tar
guix-4151447897dbc0ea78d192278371afb6b1218b5f.tar.gz
gnu: js-selectize: Don't use unstable tarball.
* gnu/packages/javascript.scm (js-selectize)[source]: Use 'git-fetch'.
Diffstat (limited to 'gnu/packages/javascript.scm')
-rw-r--r--gnu/packages/javascript.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index aa2c17fb68..ed338c72dd 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/")