Subject: [PATCH v1 03/19] gnu: Add rust-windows-result-0.1

From: Luca Matei Pintilie <[email-masked]>
Date: Sat, 19 Oct 2024 16:49:19 +0200

Change-Id: I24da9b21164a7c3da834293f92f26eb8a151bdc6
---
 gnu/packages/crates-windows.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 37180470ee..03fe3d3f03 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -2338,6 +2338,26 @@ (define-public rust-windows-result-0.2
     (description "This package provides Windows error handling.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-windows-result-0.1
+  (package
+    (name "rust-windows-result")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows-result" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1y274q1v0vy21lhkgslpxpq1m08hvr1mcs2l88h1b1gcx0136f2y"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.52))
+       #:cargo-development-inputs (("rust-windows-bindgen" ,rust-windows-bindgen-0.57))))
+    (home-page "https://github.com/microsoft/windows-rs")
+    (synopsis "Windows error handling")
+    (description "This package provides Windows error handling.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-windows-strings-0.1
   (package
     (name "rust-windows-strings")
-- 
2.47.0