guix-patches
[Top][All Lists]
Advanced

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

[bug#51222] [PATCH 20/25] gnu: Add python-olm.


From: Sébastien Lerique
Subject: [bug#51222] [PATCH 20/25] gnu: Add python-olm.
Date: Fri, 15 Oct 2021 11:40:31 +0900

* gnu/packages/python-xyz.scm (python-olm): New variable.
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b5c40692db..f090eb2b5a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -229,6 +229,31 @@
   #:use-module (srfi srfi-1)
   #:use-module (srfi srfi-26))
 
+(define-public python-olm
+  (package
+    (name "python-olm")
+    (version "3.1.3")
+    (source
+     ;; Note: at the time of writing, the upstream version is 3.2.6, so it
+     ;; may be worth using the subfolder of the upstream git repository
+     ;; instead of PyPi.
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "python-olm" version))
+       (sha256
+        (base32 "0wg8zr1gbba8396pf3hsxmv2ysmkql9qpwg3i267hxrprqrn2v4s"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-cffi" ,python-cffi)
+       ("python-future" ,python-future)))
+    (inputs
+     `(("libolm" ,libolm)))
+    (home-page "https://gitlab.matrix.org/matrix-org/olm";)
+    (synopsis "Python CFFI bindings for the olm cryptographic ratchet library")
+    (description
+     "Python CFFI bindings for the olm cryptographic ratchet library.")
+    (license license:asl2.0)))
+
 (define-public python-aioresponses
   (package
     (name "python-aioresponses")
-- 
2.33.0






reply via email to

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