guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#67515] [PATCH 77/91] gnu: Add rust-sysinfo-0.29.


From: Sergio Pastor Pérez
Subject: [bug#67515] [PATCH 77/91] gnu: Add rust-sysinfo-0.29.
Date: Tue, 28 Nov 2023 22:12:55 +0100

* gnu/packages/crates-graphics.scm (rust-sysinfo-0.29): New variable.

Change-Id: Ib1fb743b330779b753c233791b04af10e06c23db
---
 gnu/packages/crates-graphics.scm | 34 ++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 79922722a9..6a8426c255 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -2655,6 +2655,40 @@ (define-public rust-smithay-clipboard-0.6
 applications.")
     (license license:expat)))
 
+(define-public rust-sysinfo-0.29
+  (package
+    (name "rust-sysinfo")
+    (version "0.29.10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sysinfo" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "19cbs7d7fcq8cpfpr94n68h04d02lab8xg76j6la7b90shad260a"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ; some require root access
+       #:cargo-inputs
+       (("rust-cfg-if" ,rust-cfg-if-1)
+        ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-ntapi" ,rust-ntapi-0.4)
+        ("rust-once-cell" ,rust-once-cell-1)
+        ("rust-rayon" ,rust-rayon-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-winapi" ,rust-winapi-0.3))
+       #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)
+                                   ("rust-tempfile" ,rust-tempfile-3))))
+    (home-page "https://github.com/GuillaumeGomez/sysinfo";)
+    (synopsis
+     "Library to get system information such as processes, CPUs, disks,
+components and networks")
+    (description
+     "Library to get system information such as processes, CPUs, disks,
+components and networks")
+    (license license:expat)))
+
 (define-public rust-textdistance-1
   (package
     (name "rust-textdistance")
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]