From d749a89dfb2bcbc4da156b58d81e79ae9b414881 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 May 2023 17:30:25 +0300 Subject: [PATCH] gnu: Add rust-serdect-0.2. * gnu/packages/crates-io.scm (rust-serdect-0.2): New variable. --- gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cf8a0a7601..24091a4795 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -56584,6 +56584,40 @@ for later processing.") (description "This package provides YAML support for Serde.") (license (list license:expat license:asl2.0)))) +(define-public rust-serdect-0.2 + (package + (name "rust-serdect") + (version "0.2.0") + (source (origin + (method url-fetch) + (uri (crate-uri "serdect" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0xw1b6acw6nd0jchzyxzr97f0s4shbcqh92iyjwln0cskshi8kx8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base16ct" ,rust-base16ct-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-ciborium" ,rust-ciborium-0.2) + ("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-proptest" ,rust-proptest-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json-core" ,rust-serde-json-core-0.5) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-toml" ,rust-toml-0.7)))) + (home-page "https://github.com/RustCrypto/formats/tree/master/serdect") + (synopsis + "Constant-time serde serializer/deserializer helpers") + (description + "This package provides constant-time serde serializer/deserializer helpers +for data that potentially contains secrets (e.g. cryptographic keys).") + (license (list license:asl2.0 license:expat)))) + (define-public rust-serial-test-0.6 (package (name "rust-serial-test")