Subject: [bug#69257] [PATCH 176/228] gnu: Add rust-tls-codec-derive-0.4.

From: Herman Rimm <[email-masked]>
Date: Sun, 18 Feb 2024 22:09:06 +0100

* gnu/packages/crates-crypto.scm (rust-tls-codec-derive-0.4): Add
variable.

Change-Id: I232cb77cdbdec4b3eeea0695a8c9b4ccf64f5b03
---
 gnu/packages/crates-crypto.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 9835b5af9e..40e8deadc3 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -5958,6 +5958,30 @@ (define-public rust-tiger-0.1
      "This package provides the Tiger cryptographic hash function.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-tls-codec-derive-0.4
+  (package
+    (name "rust-tls-codec-derive")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tls_codec_derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1704w8zpgpj40yjgq9dddnnfzmq44p63n0606c1g6y8fcm2zb7ld"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))
+       #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1))))
+    (home-page
+     "https://github.com/RustCrypto/formats/tree/master/tls_codec/derive")
+    (synopsis "Derive macros for the tls_codec trait")
+    (description
+      "This package provides Derive macros for the tls_codec trait.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-totp-lite-2
   (package
     (name "rust-totp-lite")
-- 
2.41.0