From 97f6004ca194a764bc7829f1ebdc292ef01f9b2b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 8 Sep 2019 16:12:50 +0300 Subject: [PATCH] gnu: js-respond: Don't use unstable-tarball. * gnu/packages/javascript.scm (js-respond)[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 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"