guix-commits
[Top][All Lists]
Advanced

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

450/470: gnu: Add rust-aes-ctr-0.6.


From: guix-commits
Subject: 450/470: gnu: Add rust-aes-ctr-0.6.
Date: Thu, 16 Mar 2023 03:02:39 -0400 (EDT)

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

commit da920c6dda6661f23930ae6b03b58c4987c06d8d
Author: Steve George <steve@futurile.net>
AuthorDate: Thu Feb 23 08:42:41 2023 +0000

    gnu: Add rust-aes-ctr-0.6.
    
    * gnu/packages/crates-io.scm (rust-aes-ctr-0.6): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0c85f5f9ec..2783bc955c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1974,6 +1974,32 @@ ciphers implementations.")
         ("rust-aesni" ,rust-aesni-0.6)
         ("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6))))))
 
+(define-public rust-aes-ctr-0.6
+  (package
+    (name "rust-aes-ctr")
+    (version "0.6.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "aes-ctr" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32 "0qspjxzrclnb83501595y01dhc0km1ssrbjnwlxhcrsdwp6w6abp"))))
+  (build-system cargo-build-system)
+  (arguments
+   `(#:cargo-inputs
+     (("rust-aes-soft" ,rust-aes-soft-0.6)
+      ("rust-aesni" ,rust-aesni-0.10)
+      ("rust-cipher" ,rust-cipher-0.2)
+      ("rust-ctr", rust-ctr-0.6))
+     #:cargo-development-inputs
+     (("rust-cipher" ,rust-cipher-0.2))))
+  (home-page "https://github.com/RustCrypto/block-ciphers/tree/master/aes";)
+  (synopsis "Pure Rust implementation of AES")
+  (description "A pure Rust implementation of the Advanced Encryption Standard
+(AES).  Use the aes crate if possible, as the aes-ctr has been deprecated.")
+  (license (list license:expat license:asl2.0))))
+
 (define-public rust-aes-gcm-0.10
   (package
     (name "rust-aes-gcm")



reply via email to

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