summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-27 15:23:31 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:00 +0200
commitee772f7d1bf7a94ca057f3c95728aaada3083134 (patch)
tree8937adc4c1b084b57dd0b11a0864be3a0617930b /gnu/packages
parentd0ab4a279418d0e90a34b773462a8a3f95e1044f (diff)
downloadguix-ee772f7d1bf7a94ca057f3c95728aaada3083134.tar.gz
gnu: rust-user32-sys-0.2: Move to (gnu packages crates-windows).
* gnu/packages/crates-io.scm (rust-user32-sys-0.2): Move from here ...
* gnu/packages/crates-windows.scm: ... to here.

Change-Id: Ibb805a990170200cbcb21c0b42aa90a6c04f3be2
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm33
-rw-r--r--gnu/packages/crates-windows.scm28
2 files changed, 28 insertions, 33 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5e423655a0..b3a92ecbbe 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -80112,39 +80112,6 @@ comparable to calling @code{unwrap_err()}.")
 encoding.")
     (license license:expat)))
 
-(define-public rust-user32-sys-0.2
-  (package
-    (name "rust-user32-sys")
-    (version "0.2.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "user32-sys" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32
-         "0ivxc7hmsxax9crdhxdd1nqwik4s9lhb2x59lc8b88bv20fp3x2f"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-inputs
-       (("rust-winapi" ,rust-winapi-0.2))
-       #:cargo-development-inputs
-       (("rust-winapi-build" ,rust-winapi-build-0.1))
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'fix-cargo-toml
-           (lambda _
-             (substitute* "Cargo.toml"
-               ((", path =.*}") "}"))
-             #t)))))
-    (home-page "https://github.com/retep998/winapi-rs")
-    (synopsis "Function definitions for the Windows API library user32")
-    (description
-     "Contains function definitions for the Windows API library user32.
-See winapi for types and constants.")
-    (license license:expat)))
-
 (define-public rust-users-0.11
   (package
     (name "rust-users")
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 0660f287e2..6f0d289688 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -634,6 +634,34 @@ server functionality.")
         ("rust-winapi" ,rust-winapi-0.2)
         ("rust-ws2-32-sys" ,rust-ws2-32-sys-0.2))))))
 
+(define-public rust-user32-sys-0.2
+  (package
+    (name "rust-user32-sys")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "user32-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0ivxc7hmsxax9crdhxdd1nqwik4s9lhb2x59lc8b88bv20fp3x2f"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-winapi" ,rust-winapi-0.2))
+       #:cargo-development-inputs (("rust-winapi-build" ,rust-winapi-build-0.1))
+       #:phases (modify-phases %standard-phases
+                  (add-after 'unpack 'fix-cargo-toml
+                    (lambda _
+                      (substitute* "Cargo.toml"
+                        ((", path =.*}")
+                         "}")) #t)))))
+    (home-page "https://github.com/retep998/winapi-rs")
+    (synopsis "Function definitions for the Windows API library user32")
+    (description
+     "Contains function definitions for the Windows API library user32.
+See winapi for types and constants.")
+    (license license:expat)))
+
 (define-public rust-windows-0.48
   (package
     (name "rust-windows")