diff mbox series

[bug#69890,12/43] gnu: Add rust-procfs-core-0.16.

Message ID e1ff1c47114a66c59ace47d99a9bb391e9c8ea39.1710817680.git.normally_js@posteo.net
State New
Headers show
Series gnu: Add procs. | expand

Commit Message

normally_js March 19, 2024, 3:50 a.m. UTC
* 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 mbox series

Patch

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")