gnu: hiawatha: Support HTTP/2.
* gnu/packages/web.sck (hiawatha)[arguments]: USE_SYSTEM_NGHTTP2 to ENABLE_HTTP2. [inputs]: Add nghttp2:lib.
This commit is contained in:
parent
8e87aa0497
commit
aff91b0d0b
|
@ -5192,6 +5192,8 @@ functions of Tidy.")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no tests included
|
`(#:tests? #f ; no tests included
|
||||||
#:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
|
#: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 "-DENABLE_TOMAHAWK=on")
|
||||||
(string-append "-DWEBROOT_DIR="
|
(string-append "-DWEBROOT_DIR="
|
||||||
(assoc-ref %outputs "out")
|
(assoc-ref %outputs "out")
|
||||||
|
@ -5214,10 +5216,11 @@ functions of Tidy.")
|
||||||
`("PATH" ":" prefix (,mbed)))))))))
|
`("PATH" ":" prefix (,mbed)))))))))
|
||||||
(inputs
|
(inputs
|
||||||
;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha".
|
;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha".
|
||||||
`(("mbedtls-apache" ,mbedtls-for-hiawatha)
|
`(("libxslt" ,libxslt)
|
||||||
("zlib" ,zlib)
|
("libxml2" ,libxml2)
|
||||||
("libxslt" ,libxslt)
|
("mbedtls-apache" ,mbedtls-for-hiawatha)
|
||||||
("libxml2" ,libxml2)))
|
("nghttp2" ,nghttp2 "lib")
|
||||||
|
("zlib" ,zlib)))
|
||||||
(home-page "https://www.hiawatha-webserver.org")
|
(home-page "https://www.hiawatha-webserver.org")
|
||||||
(synopsis "Webserver with focus on security")
|
(synopsis "Webserver with focus on security")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in New Issue