Subject: [PATCH 12/43] gnu: Add rust-procfs-core-0.16.

From: normalmente <[email-masked]>
Date: Tue, 19 Mar 2024 03:50:43 +0000

* gnu/packages/crates-io.scm (rust-procfs-core-0.16): New variable.

Change-Id: I54a9d6a2d511942109c8f9a42ab65629bc0d6425
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ab644aaf4c..b045efccc5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49616,6 +49616,32 @@ (define-public rust-priority-queue-1
 priority of an object.")
     (license license:expat)))
 
+(define-public rust-procfs-core-0.16
+  (package
+    (name "rust-procfs-core")
+    (version "0.16.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "procfs-core" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0acs0p19yfcs0h787ls24vi5ql4g6c62cm57qh2cxx397a958d9d"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3)
+                       ("rust-bitflags" ,rust-bitflags-2)
+                       ("rust-chrono" ,rust-chrono-0.4)
+                       ("rust-hex" ,rust-hex-0.4)
+                       ("rust-serde" ,rust-serde-1))))
+    (home-page "https://github.com/eminence/procfs")
+    (synopsis
+     "Data structures and parsing for the linux procfs pseudo-filesystem")
+    (description
+     "This package provides data structures and parsing for the linux procfs
+pseudo-filesystem.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-procinfo-0.4
   (package
     (name "rust-procinfo")
-- 
2.41.0