1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: Add civetweb.

* gnu/packages/web.scm (civetweb): New variable.

Change-Id: Ic560d7bc5486b3c3236e5f13823311dc19e8eaea
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Jake Forster
2025-06-01 15:27:06 +09:30
committed by Ludovic Courtès
parent 5a0271c43f
commit a54f3f3e2a

View File

@@ -71,6 +71,7 @@
;;; Copyright © 2024, 2025 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2025 Raven Hallsby <karl@hallsby.com>
;;; Copyright © 2025 Junker <dk@junkeria.club>"
;;; Copyright © 2025 Jake Forster <jakecameron.forster@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -7529,6 +7530,37 @@ Rust with GTK. It currently supports the Gemini, Gopher and Finger
protocols.")
(license license:expat)))
(define-public civetweb
(package
(name "civetweb")
(version "1.16")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/civetweb/civetweb")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1rdajgr0243ma8sg7qn03v6f8pnbj9w2dghi751zrdg1d1zzjxkr"))))
(build-system cmake-build-system)
(arguments
(list
#:configure-flags
#~(list "-DBUILD_SHARED_LIBS=ON"
"-DCIVETWEB_ENABLE_CXX=ON"
"-DCIVETWEB_ENABLE_ZLIB=ON"
;; The tests rely on downloading their fork of Check.
"-DCIVETWEB_BUILD_TESTING=OFF")))
(inputs (list zlib))
(home-page "https://github.com/civetweb/civetweb")
(synopsis "C/C++ embeddable web server")
(description
"CivetWeb is a web server with optional @acronym{CGI, Common Gateway
Interface} and @acronym{SSL, Secure Sockets Layer} support. It can be
embedded into C/C++ applications or used as a standalone web server.")
(license license:expat)))
(define-public clearsilver
(package
(name "clearsilver")