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

commit 0be241821d6571722cf270b7a3883f495b5ae007
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Thu Feb 13 12:19:35 2025 +0000

    gnu: Add go-go-mau-fi-libsignal.
    
    It was proposed in #62284 on <2023-03-20>.
    
    * gnu/packages/golang-crypto.scm (go-go-mau-fi-libsignal): New variable.
    
    Co-authored-by: conses <cont...@conses.eu>
    Co-authored-by: Miguel Ángel Moreno <m...@migalmoreno.com>
    Change-Id: Ia72d54957b97204278886ce23bf15a7ece746aa4
---
 gnu/packages/golang-crypto.scm | 42 ++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 40 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index f2ab6efef5..f38da931ea 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -19,11 +19,13 @@
 ;;; Copyright © 2023 Clément Lassieur <clem...@lassieur.org>
 ;;; Copyright © 2023 Felix Lechner <felix.lech...@lease-up.com>
 ;;; Copyright © 2023 Jack Hill <jackh...@jackhill.us>
+;;; Copyright © 2023 Miguel Ángel Moreno <m...@migalmoreno.com>
+;;; Copyright © 2023 conses <cont...@conses.eu>
 ;;; Copyright © 2023, 2024 Artyom V. Poptsov <poptsov.art...@gmail.com>
-;;; Copyright © 2024 Jesse Eisses <jesse@eisses.email>
-;;; Copyright © 2024 Troy Figiel <t...@troyfigiel.com>
 ;;; Copyright © 2024 Jean Simard <woshila...@tuziwo.info>
+;;; Copyright © 2024 Jesse Eisses <jesse@eisses.email>
 ;;; Copyright © 2024 Superfly Johnson <superfly.john...@yahoo.com>
+;;; Copyright © 2024 Troy Figiel <t...@troyfigiel.com>
 ;;; Copyright © 2025 Roman Scherer <ro...@burningswell.com>
 ;;; Copyright © 2025 Sharlatan Hellseher <sharlata...@gmail.com>
 ;;;
@@ -2503,6 +2505,42 @@ obfuscated via the Elligator 2 mapping
 purpose of improving obfs4proxy's meek_lite transport.")
     (license license:bsd-3)))
 
+(define-public go-go-mau-fi-libsignal
+  (package
+    (name "go-go-mau-fi-libsignal")
+    (version "0.1.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             ;; Original project:
+             ;;   <https://github.com/RadicalApp/libsignal-protocol-go>
+             ;; The first fork:
+             ;;   <https://github.com/crossle/libsignal-protocol-go>
+             ;;
+             ;; It is the second fork as seen in
+             ;; <https://pkg.go.dev/go.mau.fi/libsignal>.
+             (url "https://github.com/tulir/libsignal-protocol-go";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1pd2kijza7dr5nbgfw176ca1r3rmgpx8h22gqjp557awxqhw9lzr"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:skip-build? #t
+      #:import-path "go.mau.fi/libsignal"))
+    (propagated-inputs
+     (list go-filippo-io-edwards25519
+           go-golang-org-x-crypto
+           go-google-golang-org-protobuf))
+    (home-page "https://go.mau.fi/libsignal";)
+    (synopsis "Go implementation of the Signal protocol for WhatsApp")
+    (description
+     "Libsignal-protocol-go is a Go implementation of the Signal Client
+Protocol.")
+    (license license:gpl3)))
+
 (define-public go-lukechampine-com-blake3
   (package
     (name "go-lukechampine-com-blake3")

Reply via email to