guix-commits
[Top][All Lists]
Advanced

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

91/379: gnu: Add rust-cbc-0.1.


From: guix-commits
Subject: 91/379: gnu: Add rust-cbc-0.1.
Date: Thu, 29 Jun 2023 12:32:49 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 76602963cc414f017dbdb4e3c5cb26432c2fff30
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 11 17:30:30 2023 +0300

    gnu: Add rust-cbc-0.1.
    
    * gnu/packages/crates-io.scm (rust-cbc-0.1): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d811382fc8..bd41b306e7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10526,6 +10526,30 @@ box''.")
 types that works on stable Rust.")
     (license license:expat)))
 
+(define-public rust-cbc-0.1
+  (package
+    (name "rust-cbc")
+    (version "0.1.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "cbc" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "19l9y9ccv1ffg6876hshd123f2f8v7zbkc4nkckqycxf8fajmd96"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-cipher" ,rust-cipher-0.4))
+       #:cargo-development-inputs
+       (("rust-aes" ,rust-aes-0.8)
+        ("rust-cipher" ,rust-cipher-0.4)
+        ("rust-hex-literal" ,rust-hex-literal-0.3))))
+    (home-page "https://github.com/RustCrypto/block-modes";)
+    (synopsis "Cipher Block Chaining (CBC) block cipher mode of operation")
+    (description "Cipher Block Chaining (CBC) block cipher mode of operation.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-cblas-sys-0.1
   (package
     (name "rust-cblas-sys")



reply via email to

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