summary refs log tree commit diff
path: root/gnu/packages/javascript.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-09-08 16:08:18 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-09-08 19:03:45 +0300
commite452c69aa89b2646c93235e4c4322e9f60040a1b (patch)
treec06af83750d93d214ec5d1f63d4873808e639e43 /gnu/packages/javascript.scm
parent9cf60dec1d4862e52e942e2674e12d1dc3e1f535 (diff)
downloadguix-e452c69aa89b2646c93235e4c4322e9f60040a1b.tar.gz
gnu: js-filesaver: Don't use unstable tarball.
* gnu/packages/javascript.scm (js-filesaver)[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 cc0542636c..da285db0b9 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -386,13 +386,14 @@ means that these shams cause many ES5 methods to silently fail.")
     (name "js-filesaver")
     (version "1.3.8")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/eligrey/FileSaver.js/"
-                                  "archive/" version ".tar.gz"))
-              (file-name (string-append name "-" version))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/eligrey/FileSaver.js")
+                     (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1rkhfqs5plaj628kzj7qgm5qahy4v7ihygifidqr6g6265mil97h"))))
+                "0gvqk0hnr8fig0n4da7vj7q6z31bcyv52916xz3rbmdj3pgpiv1d"))))
     (build-system minify-build-system)
     (arguments
      `(#:phases