From f63aeac8bee190dec9f8249547b01548d6ae6453 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 21 Jan 2024 17:22:28 +0200 Subject: [PATCH] gnu: rust-stream-cipher: Move to (gnu packages crates-crypto). * gnu/packages/crates-io.scm (rust-stream-cipher-0.4, rust-stream-cipher-0.3): Move from here ... * gnu/packages/crates-crypto.scm: ... to here. Change-Id: I2dffa30a774737d4fccce56992e12a05436c5bca --- gnu/packages/crates-crypto.scm | 43 ++++++++++++++++++++++++++++++++++ gnu/packages/crates-io.scm | 43 ---------------------------------- 2 files changed, 43 insertions(+), 43 deletions(-) diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index a42b49b3b3..0d87683cab 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -4483,6 +4483,49 @@ (define-public rust-spki-0.4 (base32 "0ckgkcg6db5y94dqhmyikgn8yrsah6pyf4j197hv1c51bp0s00aw")))) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-der" ,rust-der-0.4)))))) +(define-public rust-stream-cipher-0.4 + (package + (name "rust-stream-cipher") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "stream-cipher" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "120y04k3d2jyfnvyrlf38x6bf0yckyk30c7zf8v8qaq4fjcyvy09")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-blobby" ,rust-blobby-0.1) + ("rust-block-cipher" ,rust-block-cipher-0.7) + ("rust-generic-array" ,rust-generic-array-0.14)))) + (home-page "https://github.com/RustCrypto/traits") + (synopsis "Stream cipher traits") + (description "This package provides stream cipher traits.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-stream-cipher-0.3 + (package + (inherit rust-stream-cipher-0.4) + (name "rust-stream-cipher") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "stream-cipher" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1g1nd8r6pph70rzk5yyvg7a9ji7pkap9ddiqpp4v9xa9ys0bqqc8")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-blobby" ,rust-blobby-0.1) + ("rust-generic-array" ,rust-generic-array-0.13)))))) + (define-public rust-subtle-2 (package (name "rust-subtle") diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ea67892bd1..0d7a29819e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -66341,49 +66341,6 @@ (define-public rust-str-buf-1 (description "This package provides a static string buffer.") (license license:boost1.0))) -(define-public rust-stream-cipher-0.4 - (package - (name "rust-stream-cipher") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "stream-cipher" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "120y04k3d2jyfnvyrlf38x6bf0yckyk30c7zf8v8qaq4fjcyvy09")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-blobby" ,rust-blobby-0.1) - ("rust-block-cipher" ,rust-block-cipher-0.7) - ("rust-generic-array" ,rust-generic-array-0.14)))) - (home-page "https://github.com/RustCrypto/traits") - (synopsis "Stream cipher traits") - (description "This package provides stream cipher traits.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-stream-cipher-0.3 - (package - (inherit rust-stream-cipher-0.4) - (name "rust-stream-cipher") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "stream-cipher" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1g1nd8r6pph70rzk5yyvg7a9ji7pkap9ddiqpp4v9xa9ys0bqqc8")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-blobby" ,rust-blobby-0.1) - ("rust-generic-array" ,rust-generic-array-0.13)))))) - (define-public rust-streaming-decompression-0.1 (package (name "rust-streaming-decompression")