summaryrefslogtreecommitdiff
path: root/gnu/packages/javascript.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-09-08 16:12:50 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-09-08 19:03:45 +0300
commit97f6004ca194a764bc7829f1ebdc292ef01f9b2b (patch)
treeaf61c0b79c2f3c2f81d73d5127068c3955a85d3c /gnu/packages/javascript.scm
parent367d0833c3c4d6828fe47bee5513a8ac78016c3e (diff)
downloadpatches-97f6004ca194a764bc7829f1ebdc292ef01f9b2b.tar
patches-97f6004ca194a764bc7829f1ebdc292ef01f9b2b.tar.gz
gnu: js-respond: Don't use unstable-tarball.
* gnu/packages/javascript.scm (js-respond)[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 ba0ccddff4..2390c23c4b 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -144,13 +144,14 @@ be able to view it naturally and easily.")))
(name "js-respond")
(version "1.4.2")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/scottjehl/Respond/"
- "archive/" version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/scottjehl/Respond")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0ds1ya2a185jp93mdn07159c2x8zczwi960ykrawpp62bwk2n93d"))))
+ "00xid731rirc7sdy1gc8qal3v9g0agr2qx15hm4x97l1lcbylyn2"))))
(build-system minify-build-system)
(arguments
`(#:javascript-files '("src/matchmedia.addListener.js"