sharlatan pushed a commit to branch go-team
in repository guix.
commit 3abe5eacc9772c08d4312c0b02df66a4c16fa9ff
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Feb 13 12:30:49 2025 +0000
gnu: Add go-go-mau-fi-whatsmeow.
It was proposed in #62284 on <2023-03-20>.
* gnu/packages/golang-web.scm (go-go-mau-fi-whatsmeow): New variable.
Co-authored-by: conses <[email protected]>
Co-authored-by: Miguel Ángel Moreno <[email protected]>
Change-Id: Ic795b3bf385c0be131dbc8be26bb23ae0b9c3fd3
---
gnu/packages/golang-web.scm | 53 +++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 51 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index c154c847cb..157a83cdc1 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -29,14 +29,16 @@
;;; Copyright © 2023 Fries <[email protected]>
;;; Copyright © 2023 Hilton Chain <[email protected]>
;;; Copyright © 2023 Katherine Cox-Buday <[email protected]>
+;;; Copyright © 2023 Miguel Ángel Moreno <[email protected]>
;;; Copyright © 2023 Nicolas Graves <[email protected]>
;;; Copyright © 2023 Thomas Ieong <[email protected]>
+;;; Copyright © 2023 conses <[email protected]>
;;; Copyright © 2023, 2024 Artyom V. Poptsov <[email protected]>
;;; Copyright © 2024 Dominic Martinez <[email protected]>
-;;; Copyright © 2024 Jesse Eisses <[email protected]>
-;;; Copyright © 2024 Troy Figiel <[email protected]>
;;; Copyright © 2024 Herman Rimm <[email protected]>
+;;; Copyright © 2024 Jesse Eisses <[email protected]>
;;; Copyright © 2024 Roman Scherer <[email protected]>
+;;; Copyright © 2024 Troy Figiel <[email protected]>
;;; Copyright © 2025 Jussi Timperi <[email protected]>
;;;
;;; This file is part of GNU Guix.
@@ -8887,6 +8889,53 @@ library code
browsing activities based on HTTP Upgrade (HTTPT).")
(license license:bsd-2)))
+(define-public go-go-mau-fi-whatsmeow
+ (package
+ (name "go-go-mau-fi-whatsmeow")
+ (version "0.0.0-20241215104421-68b0856cce22")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tulir/whatsmeow")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1y3h132g3w6ihc8jn587wvyha9xm3sinjlr0znqq7krvynz3z8id"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "go.mau.fi/whatsmeow"))
+ (propagated-inputs
+ (list go-github-com-google-uuid
+ go-github-com-gorilla-websocket
+ go-github-com-rs-zerolog
+ go-go-mau-fi-libsignal
+ go-go-mau-fi-util
+ go-golang-org-x-crypto
+ go-golang-org-x-net
+ go-google-golang-org-protobuf))
+ (home-page "https://go.mau.fi/whatsmeow")
+ (synopsis "Go library for the WhatsApp web multidevice API")
+ (description
+ "Package whatsmeow implements a client for interacting with the
+@code{WhatsApp} web multidevice API.
+
+Features:
+@itemize
+@item sending messages to private chats and groups (both text and media)
+@item receiving all messages
+@item managing groups and receiving group change events
+@item joining via invite messages, using and creating invite links
+@item sending and receiving typing notifications
+@item sending and receiving delivery and read receipts
+@item reading and writing app state (contact list, chat pin/mute status, etc)
+@item sending and handling retry receipts if message decryption fails
+@item sending status messages (experimental, may not work for large contact
+lists)
+@end itemize")
+ (license license:mpl2.0)))
+
(define-public go-go-opentelemetry-io-otel
(package
(name "go-go-opentelemetry-io-otel")