gnu: js-highlight: Don't use unstable tarball.

* gnu/packages/javascript.scm (js-highlight)[source]: Use 'git-fetch'.
This commit is contained in:
Efraim Flashner 2019-09-08 16:00:24 +03:00
parent 16df291414
commit 778f4430e0
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 6 additions and 5 deletions

View File

@ -289,13 +289,14 @@ well as some other extensions from Ruby.")
(name "js-highlight") (name "js-highlight")
(version "9.12.0") (version "9.12.0")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/isagalaev/highlight.js/" (uri (git-reference
"archive/" version ".tar.gz")) (url "https://github.com/isagalaev/highlight.js")
(file-name (string-append name "-" version ".tar.gz")) (commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1jjn9mj7fwq4zpr6is438bscf03b3q8jkj0k5c3fc6pkmjnhw939")))) "12qz22qjpd6svj58pwgcwg2x2rzhihfdrxg6lgj39nfpaln6dris"))))
(build-system minify-build-system) (build-system minify-build-system)
(arguments (arguments
`(#:javascript-files '("src/highlight.js"))) `(#:javascript-files '("src/highlight.js")))