summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-29 23:22:42 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-31 09:50:37 +0100
commitc9d502d6fb1a0a7a198af5d0e104983d3e4834d4 (patch)
tree1db400f415dc2561161f26c2a660deb9d3f7da72 /gnu/packages
parent23ce3b904bdb65e356a8912150126dab0eb3dac1 (diff)
gnu: Add rust-wio-0.2.
* gnu/packages/crates-io.scm (rust-wio-0.2): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index de49a66cf9..eecb9f51b9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41677,6 +41677,30 @@ API.")
"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-ws2-32-sys-0.2
(package
(name "rust-ws2-32-sys")