From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:35653) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iooN1-0001Tc-LJ for guix-patches@gnu.org; Tue, 07 Jan 2020 07:54:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iooN0-0000JI-Dh for guix-patches@gnu.org; Tue, 07 Jan 2020 07:54:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41524) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iooN0-0000J8-9Y for guix-patches@gnu.org; Tue, 07 Jan 2020 07:54:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iooN0-0005cT-8y for guix-patches@gnu.org; Tue, 07 Jan 2020 07:54:02 -0500 Subject: [bug#39007] [PATCH] gnu: Add libolm. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:35518) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iooMP-0000Bj-Vt for guix-patches@gnu.org; Tue, 07 Jan 2020 07:53:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iooMO-0008RQ-4o for guix-patches@gnu.org; Tue, 07 Jan 2020 07:53:25 -0500 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:36108) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iooMN-0008Qd-Rj for guix-patches@gnu.org; Tue, 07 Jan 2020 07:53:24 -0500 Received: by mail-wr1-x436.google.com with SMTP id z3so53818251wru.3 for ; Tue, 07 Jan 2020 04:53:23 -0800 (PST) Received: from guixSD (host1-200-dynamic.5-87-r.retail.telecomitalia.it. [87.5.200.1]) by smtp.gmail.com with ESMTPSA id r6sm75901604wrq.92.2020.01.07.04.53.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2020 04:53:20 -0800 (PST) From: anothersms@gmail.com (=?UTF-8?Q?Nicol=C3=B2?= Balzarotti) References: <87mub1hm2p.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> Date: Tue, 07 Jan 2020 13:53:19 +0100 Message-ID: <87y2uj1l8g.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39007@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello guix! This library is used by matrix and its use is suggested to clients wanting = to implement encryption. Thanks, Nicol=C3=B2 --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-libolm.patch Content-Transfer-Encoding: quoted-printable >From c6d662517bfa876ca470b9e45e0206bd75b5840a Mon Sep 17 00:00:00 2001 From: nixo 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 =C2=A9 2018 Efraim Flashner ;;; Copyright =C2=A9 2018 Arun Isaac ;;; Copyright =C2=A9 2018 Nicolas Goaziou -;;; Copyright =C2=A9 2018 Nicol=C3=B2 Balzarotti +;;; Copyright =C2=A9 2018, 2020 Nicol=C3=B2 Balzarotti ;;; Copyright =C2=A9 2018 Tim Gesthuizen ;;; Copyright =C2=A9 2019 Pierre Neidhardt ;;; Copyright =C2=A9 2019 Tanguy Le Carrour @@ -1040,3 +1040,29 @@ minisign uses a slightly different format to store s= ecret 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))) --=20 2.24.1 --=-=-=--