Subject: [PATCH PATCH rust-team v2 05/24] gnu: Add rust-read-process-memory-0.1.

From: Maxim Cournoyer <[email-masked]>
Date: Wed, 11 Dec 2024 10:48:52 +0900

* gnu/packages/crates-io.scm (rust-read-process-memory-0.1): New variable.

Change-Id: Iee6386d28ea10a83ac769251a7341a6d0caccdc6
---

(no changes since v1)

 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 81667a660a..e02212980d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -86154,6 +86154,29 @@ (define-public rust-thread-priority-0.10
      "Library for managing threads priority and schedule policies.")
     (license license:expat)))
 
+(define-public rust-read-process-memory-0.1
+  (package
+    (name "rust-read-process-memory")
+    (version "0.1.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "read-process-memory" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1c1vmw8a2ywf7v96xfwbsyrnpk3fy8cc2a0rdxw8fs0b5wxni5w4"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-mach" ,rust-mach-0.3)
+                       ("rust-winapi" ,rust-winapi-0.3))))
+    (home-page "https://github.com/rbspy/read-process-memory")
+    (synopsis "Read memory from another process")
+    (description "This package provides a crate that allows reading memory
+from another process.")
+    (license license:expat)))
+
 (define-public rust-thread-tree-0.3
   (package
     (name "rust-thread-tree")
-- 
2.46.0