diff mbox series

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

Message ID 2c9620d39257dc2094f392494f92f31c23125746.1720567735.git.w@wmeyer.eu
State New
Headers show
Series gnu: Add ouch. | expand

Commit Message

Wilko Meyer July 9, 2024, 11:37 p.m. UTC
* gnu/packages/crates-windows.scm (rust-nt-time-0.6): New variable.
---
 gnu/packages/crates-windows.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
diff mbox series

Patch

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")