guix-commits
[Top][All Lists]
Advanced

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

82/189: gnu: Add rust-aes-0.4.


From: guix-commits
Subject: 82/189: gnu: Add rust-aes-0.4.
Date: Mon, 21 Sep 2020 06:01:20 -0400 (EDT)

arunisaac pushed a commit to branch wip-swc
in repository guix.

commit 26b92333789a632a1923234c1937a77e373ed36a
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Thu Sep 17 13:52:49 2020 +0530

    gnu: Add rust-aes-0.4.
    
    * gnu/packages/crates-io.scm (rust-aes-0.4): New variable.
---
 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 7d6312a..217fc9e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -196,6 +196,32 @@ the Rust programming language.")
         (sha256
          (base32
           "1rw11hycfjhqbc7z1smn75m0sczq519msjwimxh7b8s6n4pzk5r7"))))
+(define-public rust-aes-0.4
+  (package
+    (name "rust-aes")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "aes" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1xgsp2bn5llsppald60iw4497gaspslg0a8hknhniiz4zmki607p"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-aes-soft" ,rust-aes-soft-0.4)
+        ("rust-aesni" ,rust-aesni-0.7)
+        ("rust-block-cipher" ,rust-block-cipher-0.7))
+       #:cargo-development-inputs
+       (("rust-block-cipher" ,rust-block-cipher-0.7))))
+    (home-page "https://github.com/RustCrypto/block-ciphers";)
+    (synopsis "Facade for AES (Rijndael) block ciphers implementations")
+    (description "This package provides a facade for AES (Rijndael) block
+ciphers implementations.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-aes-soft-0.4
   (package
     (name "rust-aes-soft")



reply via email to

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