Commit Message
Herman Rimm
April 28, 2024, 6:55 p.m. UTC
* gnu/packages/crates-crypto.scm (rust-vodozemac-0.5): Add variable. Change-Id: Ib17beb63cd41531b56372a0ddab64055b328e4aa --- gnu/packages/crates-crypto.scm | 46 ++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+)
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index cef5242d78..879879d09d 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -6564,6 +6564,52 @@ (define-public rust-universal-hash-0.3 (("rust-generic-array" ,rust-generic-array-0.12) ("rust-subtle" ,rust-subtle-2)))))) +(define-public rust-vodozemac-0.5 + (package + (name "rust-vodozemac") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "vodozemac" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mm3nazg7zailrwjs4f13nx2636v7b25ba6rfafjj8n5xkzdz417")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; 'calculate_mac_fixed_base64' not in olm-rs. + #:cargo-inputs (("rust-aes" ,rust-aes-0.8) + ("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-base64" ,rust-base64-0.21) + ("rust-cbc" ,rust-cbc-0.1) + ("rust-curve25519-dalek" ,rust-curve25519-dalek-4) + ("rust-ed25519-dalek" ,rust-ed25519-dalek-2) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-hkdf" ,rust-hkdf-0.12) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-matrix-pickle" ,rust-matrix-pickle-0.1) + ("rust-pkcs7" ,rust-pkcs7-0.4) + ("rust-prost" ,rust-prost-0.12) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-bytes" ,rust-serde-bytes-0.11) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-subtle" ,rust-subtle-2) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-x25519-dalek" ,rust-x25519-dalek-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-assert-matches" ,rust-assert-matches-1) + ("rust-olm-rs" ,rust-olm-rs-2) + ("rust-proptest" ,rust-proptest-1)))) + (home-page "https://github.com/matrix-org/vodozemac") + (synopsis "Rust implementation of Olm and Megolm") + (description + "This package provides a Rust implementation of Olm and Megolm.") + (license license:asl2.0))) + (define-public rust-x25519-dalek-2 (package (name "rust-x25519-dalek")