[bug#75062,rust-team,01/17] gnu: rust-ws2-32-sys-0.2: Order alphabetically.

Message ID db962198ec7b1dcc1a87d1a58b6e08f63685c2e7.1735036178.git.herman@rimm.ee
State New
Headers
Series [bug#75062,rust-team,01/17] gnu: rust-ws2-32-sys-0.2: Order alphabetically. |

Commit Message

Herman Rimm Dec. 24, 2024, 10:30 a.m. UTC
  * gnu/packages/crates-windows.scm (rust-ws2-32-sys-0.2): Order.

Change-Id: Ic7bda37958093cac02da11dc3d24ddc9070a5f39
---
 gnu/packages/crates-windows.scm | 48 ++++++++++++++++-----------------
 1 file changed, 24 insertions(+), 24 deletions(-)


base-commit: e793fbbd5282713fe5c9aad512c5784b0afff175
  

Comments

Efraim Flashner Dec. 24, 2024, 12:01 p.m. UTC | #1
Thanks. Patches pushed to the rust-team branch
  

Patch

diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 88b27eaea7..cedfd7554e 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -1512,30 +1512,6 @@  (define-public rust-wmi-0.12
 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.58
   (package
     (name "rust-windows")
@@ -3417,3 +3393,27 @@  (define-public rust-windows-x86-64-msvc-0.28
               (sha256
                (base32
                 "17z8q25pd3dp6b84qm9nlayd3ym78sbryxlqmgcxvz9vpmy8qarz"))))))
+
+(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)))