sharlatan pushed a commit to branch go-team
in repository guix.

commit 389661af455a37e3277a806835af83c2f9fae995
Author: Sharlatan Hellseher <sharlata...@gmail.com>
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 <cont...@conses.eu>
    Co-authored-by: Miguel Ángel Moreno <m...@migalmoreno.com>
    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 <fries1...@protonmail.com>
 ;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
 ;;; Copyright © 2023 Katherine Cox-Buday <cox.katherin...@gmail.com>
+;;; Copyright © 2023 Miguel Ángel Moreno <m...@migalmoreno.com>
 ;;; Copyright © 2023 Nicolas Graves <ngra...@ngraves.fr>
 ;;; Copyright © 2023 Thomas Ieong <th.ie...@free.fr>
+;;; Copyright © 2023 conses <cont...@conses.eu>
 ;;; Copyright © 2023, 2024 Artyom V. Poptsov <poptsov.art...@gmail.com>
 ;;; Copyright © 2024 Dominic Martinez <d...@dominicm.dev>
-;;; Copyright © 2024 Jesse Eisses <jesse@eisses.email>
-;;; Copyright © 2024 Troy Figiel <t...@troyfigiel.com>
 ;;; Copyright © 2024 Herman Rimm <her...@rimm.ee>
+;;; Copyright © 2024 Jesse Eisses <jesse@eisses.email>
 ;;; Copyright © 2024 Roman Scherer <ro...@burningswell.com>
+;;; Copyright © 2024 Troy Figiel <t...@troyfigiel.com>
 ;;; Copyright © 2025 Jussi Timperi <jussi.timp...@iki.fi>
 ;;;
 ;;; 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")

Reply via email to