guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/12: gnu: Add libolm.


From: guix-commits
Subject: 10/12: gnu: Add libolm.
Date: Sat, 11 Jan 2020 18:22:41 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 20b49f47e572ef5eca8e75f245b5971bb682dc74
Author: nixo <address@hidden>
AuthorDate: Sun Jan 5 16:46:01 2020 +0100

    gnu: Add libolm.
    
    * gnu/packages/messaging.scm (libolm): New variable.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/crypto.scm | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index dd49c12..1c6e759 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -10,7 +10,7 @@
 ;;; Copyright © 2018 Efraim Flashner <address@hidden>
 ;;; Copyright © 2018 Arun Isaac <address@hidden>
 ;;; Copyright © 2018 Nicolas Goaziou <address@hidden>
-;;; Copyright © 2018 Nicolò Balzarotti <address@hidden>
+;;; Copyright © 2018, 2020 Nicolò Balzarotti <address@hidden>
 ;;; Copyright © 2018 Tim Gesthuizen <address@hidden>
 ;;; Copyright © 2019 Pierre Neidhardt <address@hidden>
 ;;; Copyright © 2019 Tanguy Le Carrour <address@hidden>
@@ -1040,3 +1040,30 @@ minisign uses a slightly different format to store 
secret keys.  Minisign
 signatures include trusted comments in addition to untrusted comments.
 Trusted comments are signed, thus verified, before being displayed.")
     (license license:isc)))
+
+(define-public libolm
+  (package
+    (name "libolm")
+    (version "3.1.4")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.matrix.org/git/olm";)
+                    (commit version)))
+              (sha256
+               (base32
+                "06s7rw4a9vn35wzz7chxn54mp0sjgbpv2bzz9lq0g4hnzw33cjbi"))
+              (file-name (git-file-name name version))))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (invoke "ctest" "build/tests"))))))
+    (build-system cmake-build-system)
+    (synopsis "Implementation of the olm and megolm cryptographic ratchets")
+    (description "The libolm library implements the Double Ratchet
+cryptographic ratchet.  It is written in C and C++11, and exposed as a C
+API.")
+    (home-page "https://matrix.org/docs/projects/other/olm/";)
+    (license license:asl2.0)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]