guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: gnu: hiawatha: Support HTTP/2.


From: Tobias Geerinckx-Rice
Subject: 03/03: gnu: hiawatha: Support HTTP/2.
Date: Thu, 4 Oct 2018 13:07:46 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit aff91b0d0bc4c4459625558dc547af3567b6e5f3
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Thu Oct 4 19:04:37 2018 +0200

    gnu: hiawatha: Support HTTP/2.
    
    * gnu/packages/web.sck (hiawatha)[arguments]: USE_SYSTEM_NGHTTP2
    to ENABLE_HTTP2.
    [inputs]: Add nghttp2:lib.
---
 gnu/packages/web.scm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 4017119..01db03e 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5192,6 +5192,8 @@ functions of Tidy.")
     (arguments
      `(#:tests? #f                      ; no tests included
        #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
+                               (string-append "-DENABLE_HTTP2=on")
+                               (string-append "-DUSE_SYSTEM_NGHTTP2=on")
                                (string-append "-DENABLE_TOMAHAWK=on")
                                (string-append "-DWEBROOT_DIR="
                                               (assoc-ref %outputs "out")
@@ -5214,10 +5216,11 @@ functions of Tidy.")
                  `("PATH" ":" prefix (,mbed)))))))))
     (inputs
      ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha".
-     `(("mbedtls-apache" ,mbedtls-for-hiawatha)
-       ("zlib" ,zlib)
-       ("libxslt" ,libxslt)
-       ("libxml2" ,libxml2)))
+     `(("libxslt" ,libxslt)
+       ("libxml2" ,libxml2)
+       ("mbedtls-apache" ,mbedtls-for-hiawatha)
+       ("nghttp2" ,nghttp2 "lib")
+       ("zlib" ,zlib)))
     (home-page "https://www.hiawatha-webserver.org";)
     (synopsis "Webserver with focus on security")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]