aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-crypto.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-31 17:00:22 +0300
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:46:03 +0300
commit9c0a05102d5dcebb1bb1b6bdfd122da941c9b2df (patch)
treedcfe0af379f847a04b3897c15f2d99cb80c89e50 /gnu/packages/crates-crypto.scm
parentc0b2afabf0aaba83c0c76e319c6175b159d704b4 (diff)
downloadguix-9c0a05102d5dcebb1bb1b6bdfd122da941c9b2df.tar.gz
guix-9c0a05102d5dcebb1bb1b6bdfd122da941c9b2df.zip
gnu: Add rust-camellia-0.1.
* gnu/packages/crates-crypto.scm (rust-camellia-0.1): New variable. Change-Id: I40c39d67abe0d8c8abb68b82373fc589ad88627d
Diffstat (limited to 'gnu/packages/crates-crypto.scm')
-rw-r--r--gnu/packages/crates-crypto.scm21
1 files changed, 21 insertions, 0 deletions
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")