Subject: [bug#74551] [PATCH v2 34/49] gnu: Add rust-systemstat-0.2.

From: Jordan Moore <[email-masked]>
Date: Sat, 30 Nov 2024 11:55:09 -0500

* gnu/packages/crates-io.scm (rust-systemstat-0.2): New variable.

Change-Id: Ib363428ea501fbf5dd6d8202efd67fdf9c9d5601
---
 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 311a9d46fc..ec5ac3b03a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -81999,6 +81999,32 @@ (define-public rust-system-deps-1
        #:cargo-development-inputs
        (("rust-itertools" ,rust-itertools-0.9))))))
 
+(define-public rust-systemstat-0.2
+  (package
+    (name "rust-systemstat")
+    (version "0.2.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "systemstat" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1lhbbgywmhfdb2vjaxzl9g3dbbz2nyfyzqr8kacq6b1im4jfqjm2"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bytesize" ,rust-bytesize-1)
+                       ("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-nom" ,rust-nom-7)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-time" ,rust-time-0.3)
+                       ("rust-winapi" ,rust-winapi-0.3))))
+    (home-page "https://github.com/valpackett/systemstat")
+    (synopsis "Get system information/statistics in a cross-platform way")
+    (description
+     "This package provides Get system information/statistics in a cross-platform way.")
+    (license license:unlicense)))
+
 (define-public rust-tabled-0.15
   (package
     (name "rust-tabled")
-- 
2.46.0