summary refs log tree commit diff
path: root/gnu/packages/crates-windows.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-27 15:34:01 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:00 +0200
commitb50b5dca93cc107285b5c92cc142565787a61eff (patch)
tree82a2381c6f4e7ac9acb24168831ac57666bfeb97 /gnu/packages/crates-windows.scm
parentc218f4e9953d52108fc9cfb7e62b873cb3ff0db5 (diff)
downloadguix-b50b5dca93cc107285b5c92cc142565787a61eff.tar.gz
gnu: rust-wio-0.2: Move to (gnu packages crates-windows).
* gnu/packages/crates-io.scm (rust-wio-0.2): Move from here ...
* gnu/packages/crates-windows.scm: ... to here.

Change-Id: I929b0208dcdf12a06a7986e9eba8831e5a90758c
Diffstat (limited to 'gnu/packages/crates-windows.scm')
-rw-r--r--gnu/packages/crates-windows.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index e92c0ad050..a7a053498f 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -1076,6 +1076,30 @@ icons to windows executables and dynamic libraries.")
      "A simple library wrapping a handful of useful winapi functions.")
     (license license:expat)))
 
+(define-public rust-wio-0.2
+  (package
+    (name "rust-wio")
+    (version "0.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wio" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "199p404fp96w1f1c93bf1jrvaqwypxf3hmmldhww4jk4yhr9j4jx"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-winapi" ,rust-winapi-0.3))))
+    (home-page "https://github.com/retep998/wio-rs")
+    (synopsis "Windows IO wrapper")
+    (description
+     "Wio is a middle-level wrapper around various things in Windows API.  It
+is designed to be a very thin layer around Windows API to provide a safe Rusty
+API but without hiding any functionality.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-windows-0.48
   (package
     (name "rust-windows")