From 778f4430e0d3de0ec8e29926f636aca3ed2709e0 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 8 Sep 2019 16:00:24 +0300 Subject: [PATCH] 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 ff6878fdf0..aa2c17fb68 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")))