gnu: mosquitto: Enable websockets support.

* gnu/packages/messaging.scm (mosquitto): Enable websockets support.
[arguments]: Specify configure flags.
[inputs]: Add libwebsockets-for-mosquitto.

Change-Id: Idf9f373770b786b1f839eaae9f0291d0e32ab38a
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
This commit is contained in:
Evgeny Pisemsky 2025-05-17 12:22:16 +03:00 committed by Danny Milosavljevic
parent 78dc083fb2
commit ba540ca7dd
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -45,6 +45,7 @@
;;; Copyright © 2024, 2025 Ashish SHUKLA <ashish.is@lostca.se> ;;; Copyright © 2024, 2025 Ashish SHUKLA <ashish.is@lostca.se>
;;; Copyright © 2024, 2025 Igor Goryachev <igor@goryachev.org> ;;; Copyright © 2024, 2025 Igor Goryachev <igor@goryachev.org>
;;; Copyright © 2024 Nguyễn Gia Phong <mcsinyx@disroot.org> ;;; Copyright © 2024 Nguyễn Gia Phong <mcsinyx@disroot.org>
;;; Copyright © 2025 Evgeny Pisemsky <mail@pisemsky.site>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -2964,7 +2965,11 @@ as well as on desktop platforms. It's based on libpurple and ModemManager.")
(sha256 (sha256
(base32 "17c9gf2xncxsi3v8fbgq3abfyb84lyr18in0s1pbplmqmr6fimbs")))) (base32 "17c9gf2xncxsi3v8fbgq3abfyb84lyr18in0s1pbplmqmr6fimbs"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(inputs (list openssl libxslt)) (arguments
(list
#:configure-flags
#~(list "-DWITH_WEBSOCKETS=ON")))
(inputs (list openssl libxslt libwebsockets-for-mosquitto))
(synopsis "Message broker") (synopsis "Message broker")
(description (description
"This package provides Eclipse Mosquitto, a message broker "This package provides Eclipse Mosquitto, a message broker