summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-windows.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-27 15:35:35 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:01 +0200
commit31a026b252b004d662afbe7e0a08308f28ef947b (patch)
tree6b11d78ebe335eebad579769a04467bf9ee3d7e7 /gnu/packages/crates-windows.scm
parent6cc1287774622834096048eb0bac9fb7ae7cd338 (diff)
gnu: rust-ws2-32-sys-0.2: Move to (gnu packages crates-windows).
* gnu/packages/crates-io.scm (rust-ws2-32-sys-0.2): Move from here ... * gnu/packages/crates-windows.scm: ... to here. Change-Id: I468228276166fc03c53baf00b2d7c480bfb2b121
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 12e46c70e3..4ef101a544 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -1133,6 +1133,30 @@ API but without hiding any functionality.")
for Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-ws2-32-sys-0.2
+ (package
+ (name "rust-ws2-32-sys")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ws2_32-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ppscg5qfqaw0gzwv2a4nhn5bn01ff9iwn6ysqnzm4n8s3myz76m"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-winapi" ,rust-winapi-0.2)
+ ("rust-winapi-build" ,rust-winapi-build-0.1))))
+ (home-page "https://github.com/retep998/winapi-rs")
+ (synopsis "Function definitions for the Windows API library ws2_32")
+ (description
+ "Contains function definitions for the Windows API library ws2_32.")
+ (license license:expat)))
+
(define-public rust-windows-0.48
(package
(name "rust-windows")