guix-commits
[Top][All Lists]
Advanced

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

12/31: gnu: Add rust-camellia-0.1.


From: guix-commits
Subject: 12/31: gnu: Add rust-camellia-0.1.
Date: Sun, 31 Mar 2024 14:27:53 -0400 (EDT)

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

commit d3953d1ed9912f12d3ed7835912beb0d13971a04
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Mar 31 17:00:22 2024 +0300

    gnu: Add rust-camellia-0.1.
    
    * gnu/packages/crates-crypto.scm (rust-camellia-0.1): New variable.
    
    Change-Id: I40c39d67abe0d8c8abb68b82373fc589ad88627d
---
 gnu/packages/crates-crypto.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 29c489a2f2..c2497b113b 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -1072,6 +1072,27 @@ and block modes.")
      "The ChaCha family of stream ciphers.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-camellia-0.1
+  (package
+    (name "rust-camellia")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "camellia" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0c6f61rf0gzq7x9d2qmp0330pb397aldwdpmwqybbwly9rby4r1j"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
+                       ("rust-cipher" ,rust-cipher-0.4))
+       #:cargo-development-inputs (("rust-cipher" ,rust-cipher-0.4))))
+    (home-page "https://github.com/RustCrypto/block-ciphers";)
+    (synopsis "Camellia block cipher")
+    (description "This package provides the camellia block cipher.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-cast5-0.11
   (package
     (name "rust-cast5")



reply via email to

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