apteryx pushed a commit to branch qt-team
in repository guix.
commit 0942e4dd5ad6224b0c8ad61bf0b02ae8c3480f0f
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Tue Mar 26 23:25:26 2024 -0400
gnu: Add qthttpserver.
* gnu/packages/qt.scm (qthttpserver): New variable.
Change-Id: I5413984d1eeb5ab99f7e52aabc805751e1b127fb
---
gnu/packages/qt.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index f86adb16e2..66f73074eb 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -4967,6 +4967,26 @@ simple editor for binary data, just like
@code{QPlainTextEdit} is for text
data.")
(license license:lgpl2.1)))
+(define-public qthttpserver
+ (package
+ (name "qthttpserver")
+ (version "6.6.2")
+ (source (origin
+ (method url-fetch)
+ (uri (qt-url name version))
+ (sha256
+ (base32
+ "1qzw96y20qr1kc9wmys61wm568jsknvlgvh09bbqjcmm6dm3lhd2"))))
+ (build-system cmake-build-system)
+ (inputs (list qtbase qtwebsockets))
+ (home-page (package-home-page qtbase))
+ (synopsis "HTTP server module for Qt")
+ (description "Qt HTTP Server supports building HTTP server functionality
+into an application. Common use cases are exposing the application's
+functionality through REST APIs, or making devices in a trusted environment
+configurable also via HTTP.")
+ (license license:gpl3+)))
+
(define-public soqt
(let ((commit-ref "fb8f655632bb9c9c60e0ff9fa69a5ba22d3ff99d")
(revision "1"))