aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-crypto.scm
diff options
context:
space:
mode:
authorHerman Rimm <herman@rimm.ee>2024-02-18 22:02:33 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:40:56 +0300
commit1e707210ff7cdc483155b5b72c195b0257afc6f5 (patch)
treea19d30b93de26836260fb5a14ccfdd863cf46138 /gnu/packages/crates-crypto.scm
parent2bbefb19bc9cf82a12c973cd408ec7cb1abfd34e (diff)
downloadguix-1e707210ff7cdc483155b5b72c195b0257afc6f5.tar.gz
guix-1e707210ff7cdc483155b5b72c195b0257afc6f5.zip
gnu: Add rust-mas-jose-0.7.
* gnu/packages/crates-crypto.scm (rust-mas-jose-0.7): Add variable. Change-Id: I0dcfde2c155ca3f6c4ad7572f322e1ab5db32662 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-crypto.scm')
-rw-r--r--gnu/packages/crates-crypto.scm45
1 files changed, 45 insertions, 0 deletions
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 593d2af329..9e030bc13f 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -2587,6 +2587,51 @@ be used to implement arbitrary protocols.")
(description "Kuznyechik (GOST R 34.12-2015) block cipher")
(license (list license:expat license:asl2.0))))
+(define-public rust-mas-jose-0.7
+ (package
+ (name "rust-mas-jose")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mas-jose" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0x1cikddf2z3994374ql0qs02l9mxrlb74cy4pbq3yrlzcfjb6mk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-digest" ,rust-digest-0.10)
+ ("rust-ecdsa" ,rust-ecdsa-0.16)
+ ("rust-elliptic-curve" ,rust-elliptic-curve-0.13)
+ ("rust-generic-array" ,rust-generic-array-0.14)
+ ("rust-hmac" ,rust-hmac-0.12)
+ ("rust-k256" ,rust-k256-0.13)
+ ("rust-mas-iana" ,rust-mas-iana-0.7)
+ ("rust-p256" ,rust-p256-0.13)
+ ("rust-p384" ,rust-p384-0.13)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rsa" ,rust-rsa-0.9)
+ ("rust-schemars" ,rust-schemars-0.8)
+ ("rust-sec1" ,rust-sec1-0.7)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-with" ,rust-serde-with-3)
+ ("rust-sha2" ,rust-sha2-0.10)
+ ("rust-signature" ,rust-signature-2)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-url" ,rust-url-2))
+ #:cargo-development-inputs
+ (("rust-insta" ,rust-insta-1)
+ ("rust-rand-chacha" ,rust-rand-chacha-0.3))))
+ (home-page "https://matrix-org.github.io/matrix-authentication-service/")
+ (synopsis "JSON Object Signing and Encryption (JWT & co.) utilities")
+ (description "This package provides JSON Object Signing and Encryption
+(JWT & co.) utilities.")
+ (license license:asl2.0)))
+
(define-public rust-md-5-0.10
(package
(name "rust-md-5")