guix-commits
[Top][All Lists]
Advanced

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

81/189: gnu: Add rust-aesni-0.7.


From: guix-commits
Subject: 81/189: gnu: Add rust-aesni-0.7.
Date: Mon, 21 Sep 2020 06:01:19 -0400 (EDT)

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

commit d1856b543f664ab86347515109b02f3556fc87ec
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Thu Sep 17 13:50:37 2020 +0530

    gnu: Add rust-aesni-0.7.
    
    * gnu/packages/crates-io.scm (rust-aesni-0.7): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 44d6799..7d6312a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -222,6 +222,33 @@ the Rust programming language.")
 AES (Rijndael) block ciphers.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-aesni-0.7
+  (package
+    (name "rust-aesni")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "aesni" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0r6j0mjkyqnwvgib01cvrwfw8rlx1biw75234niv723n1fdx6l6h"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-block-cipher" ,rust-block-cipher-0.7)
+        ("rust-opaque-debug" ,rust-opaque-debug-0.2)
+        ("rust-stream-cipher" ,rust-stream-cipher-0.4))
+       #:cargo-development-inputs
+       (("rust-block-cipher" ,rust-block-cipher-0.7)
+        ("rust-stream-cipher" ,rust-stream-cipher-0.4))))
+    (home-page "https://github.com/RustCrypto/block-ciphers";)
+    (synopsis "AES (Rijndael) block ciphers implementation using AES-NI")
+    (description "This package provides an implementation of AES (Rijndael)
+block ciphers using AES-NI.")
+    (license (list license:expat license:asl2.0))))
+
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t



reply via email to

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