guix-commits
[Top][All Lists]
Advanced

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

89/189: gnu: Add rust-aead-0.3.


From: guix-commits
Subject: 89/189: gnu: Add rust-aead-0.3.
Date: Mon, 21 Sep 2020 06:01:23 -0400 (EDT)

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

commit 11de1ca832dcfa0d8f96069b116c0f298085d729
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Thu Sep 17 14:19:08 2020 +0530

    gnu: Add rust-aead-0.3.
    
    * gnu/packages/crates-io.scm (rust-aead-0.3): New variable.
---
 gnu/packages/crates-io.scm | 47 +++++++++++++++++++++++++++++++++++-----------
 1 file changed, 36 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cf2d5e9..4cc6531 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -183,19 +183,31 @@ the Rust programming language.")
     (license (list license:bsd-3
                    license:zlib))))
 
-(define-public rust-afl-0.8
+(define-public rust-aead-0.3
   (package
-    (name "rust-afl")
-    (version "0.8.0")
+    (name "rust-aead")
+    (version "0.3.2")
     (source
-      (origin
-        (method url-fetch)
-        (uri (crate-uri "afl" version))
-        (file-name
-         (string-append name "-" version ".tar.gz"))
-        (sha256
-         (base32
-          "1rw11hycfjhqbc7z1smn75m0sczq519msjwimxh7b8s6n4pzk5r7"))))
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "aead" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0c8388alvivcj4qkxgh4s4l6fbczn3p8wc0pnar6crlfvcdmvjbz"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-blobby" ,rust-blobby-0.3)
+        ("rust-generic-array" ,rust-generic-array-0.14)
+        ("rust-heapless" ,rust-heapless-0.5))))
+    (home-page "https://github.com/RustCrypto/traits";)
+    (synopsis "Traits for Authenticated Encryption with Associated Data (AEAD)
+algorithms")
+    (description "This package provides traits for Authenticated Encryption
+with Associated Data (AEAD) algorithms.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-aes-0.4
   (package
     (name "rust-aes")
@@ -275,6 +287,19 @@ AES (Rijndael) block ciphers.")
 block ciphers using AES-NI.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-afl-0.8
+  (package
+    (name "rust-afl")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "afl" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1rw11hycfjhqbc7z1smn75m0sczq519msjwimxh7b8s6n4pzk5r7"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t



reply via email to

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