Subject: [bug#74767] [PATCH PATCH rust-team v2 16/24] gnu: Add rust-proc-maps-0.4.

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

* gnu/packages/crates-io.scm (rust-proc-maps-0.4): New variable.

Change-Id: I4fc7d6b5369181d839083d40b87b21373b8b95ba
---

(no changes since v1)

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 62494dd453..010a5ce78a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60532,6 +60532,31 @@ (define-public rust-proc-macro2-diagnostics-0.9
                        ("rust-yansi" ,rust-yansi-0.5))
        #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1))))))
 
+(define-public rust-proc-maps-0.4
+  (package
+    (name "rust-proc-maps")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "proc-maps" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1ys4dj9wzqj6z5k7i28qy7l2ff224znvjfyrzhjkl68flrd4rd1x"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-bindgen" ,rust-bindgen-0.70)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-libproc" ,rust-libproc-0.14)
+                       ("rust-mach2" ,rust-mach2-0.4)
+                       ("rust-winapi" ,rust-winapi-0.3))))
+    (home-page "https://github.com/rbspy/proc-maps")
+    (synopsis "Helper crate for getting virtual memory maps from processes")
+    (description "This package provides a helper crate for getting virtual
+memory maps from processes.")
+    (license license:expat)))
+
 (define-public rust-proc-mounts-0.3
   (package
     (name "rust-proc-mounts")
-- 
2.46.0