gnu: Add libomemo.

* gnu/packages/messaging.scm (libomemo): New variable

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
James Thomas 2021-10-11 05:12:41 +05:30 committed by Ludovic Courtès
parent 8e5df0cea8
commit 2a05676873
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 35 additions and 0 deletions

View File

@ -585,6 +585,41 @@ It implements the necessary interfaces using @code{libgcrypt} and
(home-page "https://github.com/gkdr/axc")
(license license:gpl3))) ;GPLv3-only, per license headers
(define-public libomemo
(package
(name "libomemo")
(version "0.7.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/gkdr/libomemo")
(commit (string-append "v" version))))
(file-name
(git-file-name name version))
(sha256
(base32 "1q3vyj8zk3vm0a4v6w8qya5dhk2yw04bga8799a0zl6907nf122k"))))
(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")))
(setenv "CC" "gcc")
(setenv "PREFIX" out)))))
#:parallel-tests? #f))
(native-inputs `(("cmocka" ,cmocka)
("pkg-config" ,pkg-config)))
(inputs `(("glib" ,glib)
("libgcrypt" ,libgcrypt)
("minixml" ,minixml)
("sqlite" ,sqlite)))
(synopsis "OMEMO C library")
(description "This library implements @acronym{OMEMO, OMEMO Multi-End
Message and Object Encryption} of XMPP (XEP-0384) in C.")
(home-page "https://github.com/gkdr/libomemo")
(license license:expat)))
(define-public bitlbee
(package
(name "bitlbee")