@@ -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")