From 2209a4476e58b9fb4e0fe154179fe8d22a1430cb Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 8 Sep 2019 16:05:28 +0300 Subject: gnu: js-es5-shim: Don't use unstable tarball. * gnu/packages/javascript.scm (js-es5-shim)[source]: Use 'git-fetch'. --- gnu/packages/javascript.scm | 11 ++++++----- 1 file 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 @@ (define-public js-es5-shim (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" -- cgit v1.2.3