Subject: [bug#72021] [PATCH 37/38] gnu: Add rust-nt-time-0.6.

From: Wilko Meyer <[email-masked]>
Date: Wed, 10 Jul 2024 01:37:17 +0200

* gnu/packages/crates-windows.scm (rust-nt-time-0.6): New variable.
---
 gnu/packages/crates-windows.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index f4d2a2472f..1ae33ed896 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -535,6 +535,29 @@ (define-public rust-miow-0.2
        #:cargo-development-inputs
        (("rust-rand" ,rust-rand-0.3))))))
 
+(define-public rust-nt-time-0.6
+  (package
+    (name "rust-nt-time")
+    (version "0.6.13")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nt-time" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "02sikab4va5gv2ja5rjd7fp1g1dh6l1pryjlsprxh0hcq247fmkf"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f
+       #:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-time" ,rust-time-0.3)
+                       ("rust-zip" ,rust-zip-2))))
+    (home-page "https://github.com/sorairolake/nt-time")
+    (synopsis "Windows file time library")
+    (description "This package provides a Windows file time library.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-output-vt100-0.1
   (package
     (name "rust-output-vt100")
-- 
2.41.0