Subject: [PATCH 115/156] gnu: Add rust-serdect-0.1.

From: Wilko Meyer <[email-masked]>
Date: Mon, 8 Jan 2024 02:53:32 +0100

* gnu/packages/crates-io.scm (rust-serdect-0.1): New variable.

Change-Id: I7d49319ca2d562f268294fbad99bad32179e9e56
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index edace68dd59..d61deba7117 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66601,6 +66601,33 @@ (define-public rust-serdect-0.2
 for data that potentially contains secrets (e.g. cryptographic keys).")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-serdect-0.1
+  (package
+    (name "rust-serdect")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "serdect" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0b6krqs77vzwzdjcrcywlmlwd3msfpgmkkbxx8q9njypyhdwx3q3"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-base16ct" ,rust-base16ct-0.1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-zeroize" ,rust-zeroize-1))))
+    (home-page "https://github.com/RustCrypto/formats/tree/master/serdect")
+    (synopsis
+     "Constant-time serde serializer/deserializer helpers for data that potentially
+contains secrets (e.g. cryptographic keys)
+")
+    (description
+     "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-2
   (package
     (name "rust-serial-test")
-- 
2.41.0