summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-08-17 23:45:15 +0200
committerMarius Bakke <mbakke@fastmail.com>2018-08-18 15:12:36 +0200
commitddf1ace0649f6ad024f0ffcc81ea2a736af96e53 (patch)
tree8072b08ec2ce1c66a44bd97a5560458319aaeb3c
parentda682825df0d07e05d4d4bc370ff7a486be3d8a5 (diff)
downloadguix-ddf1ace0649f6ad024f0ffcc81ea2a736af96e53.tar.gz
gnu: Add varnish-modules.
* gnu/packages/web.scm (varnish-modules): New public variable.
-rw-r--r--gnu/packages/web.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index f558396b44..03aea522eb 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5065,6 +5065,32 @@ configuration language.")
                    l:public-domain   ;bin/varnishncsa/as64.c, include/miniobj.h
                    l:bsd-3))))       ;include/vqueue.h, lib/libvarnishcompat/daemon.c
 
+(define-public varnish-modules
+  (package
+    (name "varnish-modules")
+    (home-page "https://github.com/varnish/varnish-modules")
+    (version "0.15.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://download.varnish-software.com"
+                                  "/varnish-modules/varnish-modules-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "09li9lqa1kb275w1rby2zldyg8r9cfcl4qyv53qyd9xbzilrz751"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("python" ,python)
+       ("varnish" ,varnish)))
+    (synopsis "Collection of Varnish modules")
+    (description
+     "This package provides a collection of modules (@dfn{vmods}) for the Varnish
+cache server, extending the @dfn{Varnish Configuration Language} (VCL) with
+additional capabilities.")
+    (license l:bsd-2)))
+
 (define-public xinetd
   (package
     (name "xinetd")