summary refs log tree commit diff
path: root/gnu/packages/web.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-12-24 18:18:57 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-12-24 18:36:42 +0200
commited1bbc16cc3b89a24c5d1e4523e49c0e03babd43 (patch)
treed3ecac1710e083b4fda847832fe62585a4730944 /gnu/packages/web.scm
parent1a66502296816e7b741e0fa253b9b85a6b0d47d1 (diff)
downloadguix-ed1bbc16cc3b89a24c5d1e4523e49c0e03babd43.tar.gz
gnu: gumbo-parser: Don't use unstable tarball.
* gnu/packages/web.scm (gumbo-parser)[source]: Download using git-fetch.
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r--gnu/packages/web.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 6f887cc22a..3ee3d88f01 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -4285,13 +4285,14 @@ PostgreSQL database.")
     (name "gumbo-parser")
     (version "0.10.1")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/google/"
-                                  "gumbo-parser/archive/v" version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/google/gumbo-parser")
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1bgg2kbj311pqdzw2v33za7k66g1rv44kkvvnz2gnpaasi9k0ii8"))))
+                "0xslckwdh2i0g2qjsb6rnm8mjmbagvziz0hjlf7d1lbljfms1iw1"))))
     (build-system gnu-build-system)
     (arguments
      `(#:tests? #f))         ;tests require bundling googletest sources