diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-09-08 16:00:24 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-09-08 19:03:44 +0300 |
commit | 778f4430e0d3de0ec8e29926f636aca3ed2709e0 (patch) | |
tree | 654b90cc0f636e6dd6e4fa5c3fcf48ab8697d427 /gnu | |
parent | 16df2914144b56fcc481e1b7837aaf724fdd8d21 (diff) | |
download | guix-778f4430e0d3de0ec8e29926f636aca3ed2709e0.tar.gz |
gnu: js-highlight: Don't use unstable tarball.
* gnu/packages/javascript.scm (js-highlight)[source]: Use 'git-fetch'.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/javascript.scm | 11 |
1 files 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"))) |