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")
(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")))