diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-19 12:33:56 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-19 13:12:58 +0100 |
commit | 1e7a48e989ae47cf4845977032debf3177dabe09 (patch) | |
tree | 030e591994849a8538aed77be70cf04e9634bbcf | |
parent | 849048b6a8a5a80b48b49c34910d96f97caf9d3a (diff) |
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
-rw-r--r-- | gnu/packages/messaging.scm | 70 |
1 files 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 |