aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-09-08 16:05:28 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-09-08 19:03:44 +0300
commit2209a4476e58b9fb4e0fe154179fe8d22a1430cb (patch)
tree02095d0b6e356e3a23652639195d2650920a0b82
parent3500cb58f86b3966b9bca446f6d51498d112390d (diff)
downloadpatches-2209a4476e58b9fb4e0fe154179fe8d22a1430cb.tar
patches-2209a4476e58b9fb4e0fe154179fe8d22a1430cb.tar.gz
gnu: js-es5-shim: Don't use unstable tarball.
* gnu/packages/javascript.scm (js-es5-shim)[source]: Use 'git-fetch'.
-rw-r--r--gnu/packages/javascript.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index 3b10442e35..da7226e50e 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -359,13 +359,14 @@ navigation; it is useful for tagging, contact lists, etc.")
(name "js-es5-shim")
(version "4.5.9")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/es-shims/es5-shim/"
- "archive/v" version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/es-shims/es5-shim")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0yfndyijz0ykddzprpvfjb2453gzpn528klmwycwbqc1bqd3m1hl"))))
+ "03kp6iinnr8ky298k3cfa5rm2ykqfry1nd65dqaywc3i3fs3h43d"))))
(build-system minify-build-system)
(arguments `(#:javascript-files
'("es5-sham.js"