From ae09a95ce2a39d14a69a0f3519a522b5c97b3eea Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 21 Jan 2024 19:40:02 +0200 Subject: [PATCH] gnu: rust-cfb-mode-0.8: Move to (gnu packages crates-crypto). * gnu/packages/crates-io.scm (rust-cfb-mode-0.8): Move from here ... * gnu/packages/crates-crypto.scm: ... to here. Change-Id: I5c2d3da0000d28a02e6a425ac9bbf011336d97af --- gnu/packages/crates-crypto.scm | 24 ++++++++++++++++++++++++ gnu/packages/crates-io.scm | 24 ------------------------ 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index b6ff123b747..738b5adba06 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -1003,6 +1003,30 @@ ciphers.") (description "Cipher Block Chaining (CBC) block cipher mode of operation.") (license (list license:expat license:asl2.0)))) +(define-public rust-cfb-mode-0.8 + (package + (name "rust-cfb-mode") + (version "0.8.2") + (source (origin + (method url-fetch) + (uri (crate-uri "cfb-mode" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0c6kd34jk4p52vr0qgn9slj6zdgmc42gfcqr6mqhmy37g138v2vk")))) + (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 Feedback (CFB) block cipher mode of operation") + (description "Cipher Feedback (CFB) block cipher mode of operation") + (license (list license:expat license:asl2.0)))) + (define-public rust-chacha20-0.9 (package (name "rust-chacha20") diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5197ef3b2f3..cf1c2a4f477 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10174,30 +10174,6 @@ that need to represent UTF-16 data as 8-bit characters.") #:cargo-development-inputs (("rust-clang-sys" ,rust-clang-sys-0.28)))))) -(define-public rust-cfb-mode-0.8 - (package - (name "rust-cfb-mode") - (version "0.8.2") - (source (origin - (method url-fetch) - (uri (crate-uri "cfb-mode" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0c6kd34jk4p52vr0qgn9slj6zdgmc42gfcqr6mqhmy37g138v2vk")))) - (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 Feedback (CFB) block cipher mode of operation") - (description "Cipher Feedback (CFB) block cipher mode of operation") - (license (list license:expat license:asl2.0)))) - (define-public rust-cfg-aliases-0.1 (package (name "rust-cfg-aliases")