From 4151447897dbc0ea78d192278371afb6b1218b5f Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 8 Sep 2019 16:02:40 +0300 Subject: [PATCH] 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 aa2c17fb68..ed338c72dd 100644 --- a/gnu/packages/javascript.scm +++ b/gnu/packages/javascript.scm @@ -337,13 +337,14 @@ (define-public js-selectize (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/")