unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#39007] [PATCH] gnu: Add libolm.
       [not found] <87mub1hm2p.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me>
@ 2020-01-07 12:53 ` Nicolò Balzarotti
  2020-01-11 21:50   ` bug#39007: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolò Balzarotti @ 2020-01-07 12:53 UTC (permalink / raw)
  To: 39007

[-- Attachment #1: Type: text/plain, Size: 138 bytes --]


Hello guix!
This library is used by matrix and its use is suggested to clients wanting to
implement encryption.

Thanks, Nicolò


[-- Attachment #2: 0001-gnu-Add-libolm.patch --]
[-- Type: text/x-patch, Size: 2341 bytes --]

From c6d662517bfa876ca470b9e45e0206bd75b5840a Mon Sep 17 00:00:00 2001
From: nixo <nicolo@nixo.xyz>
Date: Sun, 5 Jan 2020 16:46:01 +0100
Subject: [PATCH] gnu: Add libolm.

* gnu/packages/messaging.scm (libolm): New variable.
---
 gnu/packages/crypto.scm | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index dd49c12e5b..7709775a59 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -10,7 +10,7 @@
 ;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2018 Nicolas Goaziou <mail@nicolasgoaziou.fr>
-;;; Copyright © 2018 Nicolò Balzarotti <nicolo@nixo.xyz>
+;;; Copyright © 2018, 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
 ;;; Copyright © 2018 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
 ;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
 ;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
@@ -1040,3 +1040,29 @@ 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 "An implementation of the Double Ratchet cryptographic
+ratchet written in @code{C} and @code{C++11} and exposed as a @code{C API}.")
+    (home-page "https://matrix.org/docs/projects/other/olm/")
+    (license license:asl2.0)))
-- 
2.24.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#39007: [PATCH] gnu: Add libolm.
  2020-01-07 12:53 ` [bug#39007] [PATCH] gnu: Add libolm Nicolò Balzarotti
@ 2020-01-11 21:50   ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2020-01-11 21:50 UTC (permalink / raw)
  To: Nicolò Balzarotti; +Cc: 39007-done

[-- Attachment #1: Type: text/plain, Size: 395 bytes --]

Hi,

anothersms@gmail.com (Nicolò Balzarotti) skribis:

>>From c6d662517bfa876ca470b9e45e0206bd75b5840a Mon Sep 17 00:00:00 2001
> From: nixo <nicolo@nixo.xyz>
> Date: Sun, 5 Jan 2020 16:46:01 +0100
> Subject: [PATCH] gnu: Add libolm.
>
> * gnu/packages/messaging.scm (libolm): New variable.

I took the liberty to apply the changes below and committed it.

Thanks!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 815 bytes --]

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 7709775a59..1c6e759c83 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -1062,7 +1062,8 @@ Trusted comments are signed, thus verified, before being displayed.")
              (invoke "ctest" "build/tests"))))))
     (build-system cmake-build-system)
     (synopsis "Implementation of the olm and megolm cryptographic ratchets")
-    (description "An implementation of the Double Ratchet cryptographic
-ratchet written in @code{C} and @code{C++11} and exposed as a @code{C API}.")
+    (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)))

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-11 21:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87mub1hm2p.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me>
2020-01-07 12:53 ` [bug#39007] [PATCH] gnu: Add libolm Nicolò Balzarotti
2020-01-11 21:50   ` bug#39007: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).