guix-commits
[Top][All Lists]
Advanced

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

151/470: gnu: Add rust-aes-gcm-0.10.


From: guix-commits
Subject: 151/470: gnu: Add rust-aes-gcm-0.10.
Date: Thu, 16 Mar 2023 03:00:49 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 0688fe927c0f3895e4065a57667e8208929dc260
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 09:14:19 2023 +0200

    gnu: Add rust-aes-gcm-0.10.
    
    * gnu/packages/crates-io.scm (rust-aes-gcm-0.10): New variable.
    (rust-aes-gcm-0.8): Inherit from rust-aes-gcm-0.10.
---
 gnu/packages/crates-io.scm | 43 ++++++++++++++++++++++++++++++++++---------
 1 file changed, 34 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 49dc49a1f1..bdc0c0d941 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1967,29 +1967,30 @@ ciphers implementations.")
         ("rust-aesni" ,rust-aesni-0.6)
         ("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6))))))
 
-(define-public rust-aes-gcm-0.8
+(define-public rust-aes-gcm-0.10
   (package
     (name "rust-aes-gcm")
-    (version "0.8.0")
+    (version "0.10.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "aes-gcm" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1nl8iwlh209y1vj9n2lm1a70i69clvg2z6x69bi4dgdrpgxbay2j"))))
+        (base32 "0z2429v2d2wyf809h2wc4vwwibwypz3y4p7sn4kzkjb91ip3dqc2"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-aead" ,rust-aead-0.3)
-        ("rust-aes" ,rust-aes-0.6)
-        ("rust-cipher" ,rust-cipher-0.2)
-        ("rust-ctr" ,rust-ctr-0.6)
-        ("rust-ghash" ,rust-ghash-0.3)
+       (("rust-aead" ,rust-aead-0.5)
+        ("rust-aes" ,rust-aes-0.8)
+        ("rust-cipher" ,rust-cipher-0.4)
+        ("rust-ctr" ,rust-ctr-0.9)
+        ("rust-ghash" ,rust-ghash-0.5)
         ("rust-subtle" ,rust-subtle-2)
         ("rust-zeroize" ,rust-zeroize-1))
        #:cargo-development-inputs
-       (("rust-hex-literal" ,rust-hex-literal-0.2))))
+       (("rust-aead" ,rust-aead-0.5)
+        ("rust-hex-literal" ,rust-hex-literal-0.3))))
     (home-page "https://github.com/RustCrypto/AEADs";)
     (synopsis "AES-GCM (Galois/Counter Mode) Authenticated Encryption")
     (description "This package provides a pure Rust implementation of the
@@ -1998,6 +1999,30 @@ Data (AEAD) Cipher with optional architecture-specific 
hardware
 acceleration.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-aes-gcm-0.8
+  (package
+    (inherit rust-aes-gcm-0.10)
+    (name "rust-aes-gcm")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "aes-gcm" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1nl8iwlh209y1vj9n2lm1a70i69clvg2z6x69bi4dgdrpgxbay2j"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-aead" ,rust-aead-0.3)
+        ("rust-aes" ,rust-aes-0.6)
+        ("rust-cipher" ,rust-cipher-0.2)
+        ("rust-ctr" ,rust-ctr-0.6)
+        ("rust-ghash" ,rust-ghash-0.3)
+        ("rust-subtle" ,rust-subtle-2)
+        ("rust-zeroize" ,rust-zeroize-1))
+       #:cargo-development-inputs
+       (("rust-hex-literal" ,rust-hex-literal-0.2))))))
+
 (define-public rust-aes-gcm-0.6
   (package
     (inherit rust-aes-gcm-0.8)



reply via email to

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