aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/javascript.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-09-08 15:44:05 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-09-08 19:03:44 +0300
commit8a35e58a27a4d06f2bed7d6a6b106ed6d242555c (patch)
treeaed1d0b728088e51b556f60e2095dea0ac898b6f /gnu/packages/javascript.scm
parentccdfae388d61f2263a085a4ddac8cb2919d01531 (diff)
downloadpatches-8a35e58a27a4d06f2bed7d6a6b106ed6d242555c.tar
patches-8a35e58a27a4d06f2bed7d6a6b106ed6d242555c.tar.gz
gnu: js-html5shiv: Don't use unstable tarball.
* gnu/packages/javascript.scm (js-html5shiv)[source]: Use 'git-fetch'.
Diffstat (limited to 'gnu/packages/javascript.scm')
-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 9e1818dfaf..472fd5e98f 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -194,13 +194,14 @@ Media Queries.")
(name "js-html5shiv")
(version "3.7.3")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/aFarkas/html5shiv/"
- "archive/" version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/aFarkas/html5shiv")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0inlbpxpqzdyi24lqagzf7l24zxg0y02xcpqs2h4npjscazzw7hg"))))
+ "0y1c5nyq0brl9fjdihhax33vks4s1ij9iv113879sg3zflmgqpd0"))))
(build-system minify-build-system)
(home-page "https://github.com/aFarkas/html5shiv")
(synopsis "Enable HTML5 sectioning elements in legacy browsers")