Subject: [PATCH 75/81] gnu: Add rust-date-header-1.

From: Herman Rimm <[email-masked]>
Date: Mon, 20 May 2024 10:59:20 +0200

* gnu/packages/crates-io.scm (rust-date-header-1): Add variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ef2584904c..f4b6d338ee 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19886,6 +19886,31 @@ (define-public rust-data-url-0.2
                                    ("rust-serde-json" ,rust-serde-json-1)
                                    ("rust-tester" ,rust-tester-0.9))))))
 
+(define-public rust-date-header-1
+  (package
+    (name "rust-date-header")
+    (version "1.0.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "date_header" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+          "078zb823qrzxj8milpk7vbmf303gmfk4nj7g4yqgnc0sxlbc80qc"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list
+      #:cargo-development-inputs (list rust-criterion-0.3
+                                       rust-proptest-1
+                                       rust-regex-1)))
+    (home-page "https://github.com/jayshua/date_header")
+    (synopsis "Parse and format the HTTP 'Date:' header")
+    (description
+     "This package provides parsing and formatting for the HTTP 'Date:'
+header.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-datetime-0.5
   (package
     (name "rust-datetime")
-- 
2.41.0