diff options
-rw-r--r-- | gnu/packages/web.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 63daa59dbf..5aed546955 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -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") |