summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2020-11-09 20:54:08 +0100
committerMarius Bakke <marius@gnu.org>2020-11-09 22:15:05 +0100
commit75a5bdbc988959750afc8ba5bfbfce7b0105131e (patch)
treee60c91ac76a63d0c2e32e96ce53addc683c3b912
parentd66cdf2ec5c063ab1273600c0a3d9ff443d6394e (diff)
downloadguix-75a5bdbc988959750afc8ba5bfbfce7b0105131e.tar.gz
gnu: varnish-modules: Update to 0.17.0.
* gnu/packages/web.scm (varnish-modules): Update to 0.17.0.
[source]: Switch to GIT-FETCH.
[native-inputs]: Add AUTOCONF, AUTOMAKE, LIBTOOL, and PYTHON-DOCUTILS.
-rw-r--r--gnu/packages/web.scm21
1 files changed, 14 insertions, 7 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 77b6142029..071f98adc5 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5844,18 +5844,25 @@ configuration language.")
   (package
     (name "varnish-modules")
     (home-page "https://github.com/varnish/varnish-modules")
-    (version "0.16.0")
+    (version "0.17.0")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/varnish/varnish-modules"
-                                  "/releases/download/varnish-modules-" version
-                                  "/varnish-modules-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference (url home-page) (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1ph5bplsip4rycql1c2hgbvmrwbgcrgv2ldgfp7saxxbsv5cpcds"))))
+                "0zg8y2sgkygdani70zp9rbx278431fmssj26d47c5qsiw939i519"))))
     (build-system gnu-build-system)
     (native-inputs
-     `(("pkg-config" ,pkg-config)))
+     `(("pkg-config" ,pkg-config)
+
+       ;; For bootstrapping.
+       ("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("libtool" ,libtool)
+
+       ;; For generating manuals.
+       ("rst2man" ,python-docutils)))
     (inputs
      `(("python" ,python)
        ("varnish" ,varnish)))