From 9c0a05102d5dcebb1bb1b6bdfd122da941c9b2df Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 31 Mar 2024 17:00:22 +0300 Subject: [PATCH] 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 @@ (define-public rust-c2-chacha-0.2 "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")