summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 11:00:36 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:12 +0100
commitee6f3e79541ddb9157a0a4f26a42e15c97b22ac0 (patch)
tree05254d6c9ea7cad7d6deec1afa9f3027acb0bcef /gnu
parenta52b2a0617db0f2c05e428426fa817ef3f3b3a11 (diff)
downloadguix-ee6f3e79541ddb9157a0a4f26a42e15c97b22ac0.tar.gz
gnu: Add rust-aes-0.3.
* gnu/packages/crates-io.scm (rust-aes-0.3): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 028587f647..16716e6f32 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -932,6 +932,25 @@ with Associated Data (AEAD) algorithms.")
 ciphers implementations.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-aes-0.3
+  (package
+    (inherit rust-aes-0.4)
+    (name "rust-aes")
+    (version "0.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "aes" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1j90iwpax0y1dqq14i8y9xgpcnnlgnljwkxg3mhzrralwf7ivssl"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-aes-soft" ,rust-aes-soft-0.3)
+        ("rust-aesni" ,rust-aesni-0.6)
+        ("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6))))))
+
 (define-public rust-aes-gcm-0.6
   (package
     (name "rust-aes-gcm")