summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 10:57:21 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:11 +0100
commit124cc42f112dac6279a5dc9b338f69dd76d8bd84 (patch)
tree8496e71b9f8860124d6a3083ba32453b4175a263 /gnu
parent82277289855480430fe7b13aec9818d20810f8a8 (diff)
downloadguix-124cc42f112dac6279a5dc9b338f69dd76d8bd84.tar.gz
gnu: Add rust-aesni-0.6.
* gnu/packages/crates-io.scm (rust-aesni-0.6): 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 63aafa5975..3c18b19f98 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1019,6 +1019,25 @@ AES (Rijndael) block ciphers.")
 block ciphers using AES-NI.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-aesni-0.6
+  (package
+    (inherit rust-aesni-0.7)
+    (name "rust-aesni")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "aesni" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "007imgcfl82nilfpamj5dik83pkcmkzvbkxp384p7r3iz6sscw1g"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6)
+        ("rust-opaque-debug" ,rust-opaque-debug-0.2)
+        ("rust-stream-cipher" ,rust-stream-cipher-0.3))))))
+
 (define-public rust-afl-0.8
   (package
     (name "rust-afl")