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

* gnu/packages/javascript.scm (js-filesaver)[source]: Use 'git-fetch'.
This commit is contained in:
Efraim Flashner 2019-09-08 16:08:18 +03:00
parent 9cf60dec1d
commit e452c69aa8
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -386,13 +386,14 @@ (define-public js-filesaver
(name "js-filesaver")
(version "1.3.8")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/eligrey/FileSaver.js/"
"archive/" version ".tar.gz"))
(file-name (string-append name "-" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/eligrey/FileSaver.js")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1rkhfqs5plaj628kzj7qgm5qahy4v7ihygifidqr6g6265mil97h"))))
"0gvqk0hnr8fig0n4da7vj7q6z31bcyv52916xz3rbmdj3pgpiv1d"))))
(build-system minify-build-system)
(arguments
`(#:phases