guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 1e7a48e989ae47cf4845977032debf3177dabe09
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Jul 19 12:33:56 2025 +0100

    gnu: purple-lurch: Improve style.
    
    * gnu/packages/messaging.scm (purple-lurch): Use G-expressions, adjust
      fields order, use list stile, fix indentation.
      [description]: Start from a new line, apply fill column.
    
    Change-Id: If412204c7a0ccb335e1d0ee4b7b6d279b2f06b84
---
 gnu/packages/messaging.scm | 70 +++++++++++++++++++++++++---------------------
 1 file changed, 38 insertions(+), 32 deletions(-)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 966bc640bb..8c0c2febc3 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -2797,48 +2797,54 @@ support for high performance Telegram Bot creation.")
     (source
      (origin
        (method git-fetch)
-       (uri (git-reference (url "https://github.com/gkdr/lurch";)
-                       (commit (string-append "v" version))))
+       (uri (git-reference
+              (url "https://github.com/gkdr/lurch";)
+              (commit (string-append "v" version))))
        (modules '((guix build utils)))
        (snippet
-        `(begin
-           ;; Submodules
-           (delete-file-recursively "lib")))
+        #~(begin
+            ;; Submodules
+            (delete-file-recursively "lib")))
        (file-name
         (git-file-name name version))
        (sha256
         (base32 "1ipd9gwh04wbqv6c10yxi02lc2yjsr02hwjycgxhl4r9x8b33psd"))))
     (build-system cmake-build-system)
     (arguments
-     `(#:phases (modify-phases %standard-phases
-                  (replace 'configure
-                    (lambda* (#:key outputs #:allow-other-keys)
-                      (let ((out (assoc-ref outputs "out")))
-                        (substitute* "Makefile"
-                          (("^PURPLE_PLUGIN_DIR = .*")
-                           (string-append "PURPLE_PLUGIN_DIR = " out
-                                          "/lib/purple-2\n")))
-                        (setenv "CC" "gcc")))))
-       #:parallel-tests? #f))
-    (native-inputs (list cmocka pkg-config))
-    (inputs (list axc
-                  glib
-                  libgcrypt
-                  libomemo
-                  libsignal-protocol-c
-                  libxml2
-                  minixml
-                  pidgin
-                  sqlite))
+     (list
+      #:parallel-tests? #f
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'configure
+            (lambda _
+              (substitute* "Makefile"
+                (("^PURPLE_PLUGIN_DIR = .*")
+                 (string-append "PURPLE_PLUGIN_DIR = " #$output
+                                "/lib/purple-2\n")))
+              (setenv "CC" #$(cc-for-target)))))))
+    (native-inputs
+     (list cmocka
+           pkg-config))
+    (inputs
+     (list axc
+           glib
+           libgcrypt
+           libomemo
+           libsignal-protocol-c
+           libxml2
+           minixml
+           pidgin
+           sqlite))
+    (home-page "https://github.com/gkdr/lurch";)
     (synopsis "OMEMO Encryption for libpurple")
-    (description "Purple-lurch plugin adds end-to-end encryption support
-through the Double Ratchet (Axolotl) algorithm, to @code{libpurple}
-applications using @acronym{XMPP, Extensible Messaging and Presence Protocol},
-through its standard XEP-0384: @acronym{OMEMO, OMEMO Multi-End Message and
-Object Encryption} Encryption.  It provides confidentiality, (weak) forward
-secrecy, break-in recovery, authentication, integrity, deniability, and
+    (description
+     "Purple-lurch plugin adds end-to-end encryption support through the
+Double Ratchet (Axolotl) algorithm, to @code{libpurple} applications using
+@acronym{XMPP, Extensible Messaging and Presence Protocol},through its
+standard XEP-0384: @acronym{OMEMO, OMEMO Multi-End Message and Object
+Encryption} Encryption.  It provides confidentiality, (weak) forward secrecy,
+break-in recovery, authentication, integrity, deniability, and
 asynchronicity.")
-    (home-page "https://github.com/gkdr/lurch";)
     (license license:gpl3+)))
 
 (define-public libphonenumber

Reply via email to