diff mbox series

[bug#72021,07/38] gnu: Add rust-filetime-creation-0.1.

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

Commit Message

Wilko Meyer July 9, 2024, 11:36 p.m. UTC
* gnu/packages/crates-io.scm (rust-filetime-creation-0.1): New variable.

Change-Id: Ie16a0eb16158f993d006563d9aa16509102fae0f
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ef049853f5..222a9250b0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26437,6 +26437,30 @@  (define-public rust-filetime-0.1
         ("rust-libc" ,rust-libc-0.2)
         ("rust-redox-syscall" ,rust-redox-syscall-0.1))))))
 
+(define-public rust-filetime-creation-0.1
+  (package
+    (name "rust-filetime-creation")
+    (version "0.1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "filetime_creation" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "10vk0zwwr91qypkkrhshvlw2zgjfyxhy29d5p15b8wrv5493n9sd"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-filetime" ,rust-filetime-0.2)
+                       ("rust-windows-sys" ,rust-windows-sys-0.52))))
+    (home-page "https://github.com/czy-29/filetime_creation")
+    (synopsis
+     "Enhanced version of filetime")
+    (description
+     "This package provides An enhanced version of filetime, which can set file creation time on Windows
+before Rust 1.75.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-filetreelist-0.5
   (package
     (name "rust-filetreelist")