summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 11:01:21 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:12 +0100
commit04ae6ceecccd3a601884de485f9740452b0ff466 (patch)
treea439ea2a3399fdfcc680ebe8c38e1df0edceefcb /gnu/packages
parentee6f3e79541ddb9157a0a4f26a42e15c97b22ac0 (diff)
downloadguix-04ae6ceecccd3a601884de485f9740452b0ff466.tar.gz
gnu: Add rust-aead-0.2.
* gnu/packages/crates-io.scm (rust-aead-0.2): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 16716e6f32..cd4f0f9c77 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -906,6 +906,24 @@ algorithms")
 with Associated Data (AEAD) algorithms.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-aead-0.2
+  (package
+    (inherit rust-aead-0.3)
+    (name "rust-aead")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "aead" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1r3ijikx9h117q0xgkc56yb0501kifjr3gsfp5bvnrz7asdipw2c"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-generic-array" ,rust-generic-array-0.12)
+        ("rust-heapless" ,rust-heapless-0.5))))))
+
 (define-public rust-aes-0.4
   (package
     (name "rust-aes")