gnu: olm: Drop custom ‘lib-’ prefix.

* gnu/packages/crypto.scm (olm): New variable, renamed from…
(libolm): …this one, which is now a DEPRECATED-PACKAGE alias of olm.
Adjust all users.
[synopsis, description]: Adjust.  Capitalise proper nouns.
(python-olm)[description]: Remove implementation detail.
This commit is contained in:
Tobias Geerinckx-Rice 2022-12-11 01:00:00 +01:00
parent a78e267592
commit d1c3681e38
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79
2 changed files with 13 additions and 11 deletions

View file

@ -1293,9 +1293,9 @@ (define-public minisign
Trusted comments are signed, thus verified, before being displayed.") Trusted comments are signed, thus verified, before being displayed.")
(license license:isc))) (license license:isc)))
(define-public libolm (define-public olm
(package (package
(name "libolm") (name "olm")
(version "3.2.12") (version "3.2.12")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
@ -1319,13 +1319,16 @@ (define-public libolm
(when tests? (when tests?
(with-directory-excursion "tests" (with-directory-excursion "tests"
(invoke "ctest" ".")))))))) (invoke "ctest" "."))))))))
(synopsis "Implementation of the olm and megolm cryptographic ratchets") (synopsis "Implementation of the Olm and Megolm cryptographic ratchets")
(description "The libolm library implements the Double Ratchet (description "The Olm library implements the Double Ratchet
cryptographic ratchet. It is written in C and C++11, and exposed as a C cryptographic ratchet. It is written in C and C++11, and exposed as a C
API.") API.")
(home-page "https://matrix.org/docs/projects/other/olm/") (home-page "https://matrix.org/docs/projects/other/olm/")
(license license:asl2.0))) (license license:asl2.0)))
(define-public libolm
(deprecated-package "libolm" olm))
(define-public python-olm (define-public python-olm
(package (package
;; python-olm is part of libolm and must be updated at the same time. ;; python-olm is part of libolm and must be updated at the same time.
@ -1351,10 +1354,9 @@ (define-public python-olm
(list python-cffi python-future)) (list python-cffi python-future))
(native-inputs (native-inputs
(list python-pytest python-pytest-benchmark python-aspectlib)) (list python-pytest python-pytest-benchmark python-aspectlib))
(synopsis "Python bindings for libolm") (synopsis "Python bindings for Olm")
(description "The libolm library implements the Double Ratchet (description "The Olm library implements the Double Ratchet
cryptographic ratchet. It is written in C and C++11, and exposed as a C cryptographic ratchet. This package contains its Python bindings.")))
API. This package contains its Python bindings.")))
(define-public hash-extender (define-public hash-extender
(let ((commit "cb8aaee49f93e9c0d2f03eb3cafb429c9eed723d") (let ((commit "cb8aaee49f93e9c0d2f03eb3cafb429c9eed723d")

View file

@ -2380,7 +2380,7 @@ (define-public mtxclient
curl curl
json-modern-cxx json-modern-cxx
libevent libevent
libolm olm
libsodium libsodium
openssl openssl
spdlog spdlog
@ -2463,7 +2463,7 @@ (define-public nheko
json-modern-cxx json-modern-cxx
libevent libevent
libnice ; for voip libnice ; for voip
libolm olm
lmdb lmdb
lmdbxx lmdbxx
mtxclient mtxclient
@ -2884,7 +2884,7 @@ (define-public chatty
libgcrypt libgcrypt
libgee libgee
libhandy libhandy
libolm olm
libphonenumber libphonenumber
modem-manager modem-manager
pidgin pidgin