From 87c5e26b440e71b32ef3f769f531df04c26e5729 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 21 Jan 2024 15:52:22 +0200 Subject: [PATCH] gnu: rust-base64ct: Move to (gnu packages crates-crypto). * gnu/packages/crates-io.scm (rust-base64ct-1, rust-base64ct-1.0.1): Move from here ... * gnu/packages/crates-crypto.scm: ... to here. Change-Id: I534b1833ac7a0d463986cf7504f37b56ced201ce --- gnu/packages/crates-crypto.scm | 39 ++++++++++++++++++++++++++++++++++ gnu/packages/crates-io.scm | 39 ---------------------------------- 2 files changed, 39 insertions(+), 39 deletions(-) diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index 58610140ec..ef68b25c93 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -589,6 +589,45 @@ embedded-friendly no_std support.") (sha256 (base32 "1klccxr7igf73wpi0x3asjd8n0xjg0v6a7vxgvfk5ybvgh1hd6il")))))) +(define-public rust-base64ct-1 + (package + (name "rust-base64ct") + (version "1.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "base64ct" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nvdba4jb8aikv60az40x2w1y96sjdq8z3yp09rwzmkhiwv1lg4c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-base64" ,rust-base64-0.21) + ("rust-proptest" ,rust-proptest-1)))) + (home-page "https://github.com/RustCrypto/formats/tree/master/base64ct") + (synopsis "Implementation of Base64 (RFC 4648)") + (description + "This package is a pure Rust implementation of Base64 (RFC 4648) which +avoids any usages of data-dependent branches/LUTs and thereby provides +portable \"best effort\" constant-time operation and embedded-friendly +@code{no_std} support.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-base64ct-1.0.1 + (package + (inherit rust-base64ct-1) + (name "rust-base64ct") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "base64ct" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0sx4a44c2n450lsmi0q1mgfbjhkw1sx57462cv77p0mmy9mgscla")))) + (arguments '()))) + (define-public rust-blake2-0.10 (package (name "rust-blake2") diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 47956960cc..1e12dac7d6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5296,45 +5296,6 @@ c6e7d37. However, this package works only up to 128 bytes.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.4)))))) -(define-public rust-base64ct-1 - (package - (name "rust-base64ct") - (version "1.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "base64ct" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0nvdba4jb8aikv60az40x2w1y96sjdq8z3yp09rwzmkhiwv1lg4c")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs - (("rust-base64" ,rust-base64-0.21) - ("rust-proptest" ,rust-proptest-1)))) - (home-page "https://github.com/RustCrypto/formats/tree/master/base64ct") - (synopsis "Implementation of Base64 (RFC 4648)") - (description - "This package is a pure Rust implementation of Base64 (RFC 4648) which -avoids any usages of data-dependent branches/LUTs and thereby provides -portable \"best effort\" constant-time operation and embedded-friendly -@code{no_std} support.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-base64ct-1.0.1 - (package - (inherit rust-base64ct-1) - (name "rust-base64ct") - (version "1.0.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "base64ct" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0sx4a44c2n450lsmi0q1mgfbjhkw1sx57462cv77p0mmy9mgscla")))) - (arguments '()))) - (define-public rust-base-x-0.2 (package (name "rust-base-x")