GNU bug report logs - #73884
[PATCH 00/19] gnu: Add swayrbar

Previous Next

Package: guix-patches;

Reported by: Luca Matei Pintilie <luca <at> lucamatei.com>

Date: Sat, 19 Oct 2024 14:26:03 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Luca Matei Pintilie <luca <at> lucamatei.com>
To: 73884 <at> debbugs.gnu.org
Cc: Luca Matei Pintilie <luca <at> lucamatei.com>, efraim <at> flashner.co.il
Subject: [bug#73884] [PATCH v1 08/19] gnu: Add rust-sysinfo-0.31
Date: Sat, 19 Oct 2024 16:49:24 +0200
Change-Id: Ied41755df7ec4c991ccd05dba002232244ddddcf
---
 gnu/packages/crates-io.scm | 43 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 772c16d003..f9e7432d72 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -79542,6 +79542,49 @@ (define-public rust-sysctl-0.1
         ("rust-errno" ,rust-errno-0.2)
         ("rust-libc" ,rust-libc-0.2))))))
 
+(define-public rust-sysinfo-0.31
+  (package
+    (name "rust-sysinfo")
+    (version "0.31.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sysinfo" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1gm1d4pxwnx4gmh6kwawchv8v8djb7y0a3qvbsq09cwrhx7vwp9m"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags (list "--release"
+                           "--"
+                           ;; These files aren't available in the build environment.
+                           "--skip=test::check_system_info"
+                           "--skip=test::check_uid_gid"
+                           "--skip=test_networks"
+                           "--skip=test_wait_non_child"
+                           "--skip=test_process_disk_usage"
+                           ;; I don't know why these fail
+                           "--skip=common::network::tests::check_ip_networks"
+                           "--skip=test_components"
+                           "--skip=test_refresh_tasks"
+                           "--skip=test_refresh_memory")
+       #:cargo-inputs (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-memchr" ,rust-memchr-2)
+                       ("rust-ntapi" ,rust-ntapi-0.4)
+                       ("rust-rayon" ,rust-rayon-1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-windows" ,rust-windows-0.57))
+       #:cargo-development-inputs (("rust-bstr" ,rust-bstr-1)
+                                   ("rust-serde-json" ,rust-serde-json-1)
+                                   ("rust-tempfile" ,rust-tempfile-3))))
+    (home-page "https://github.com/GuillaumeGomez/sysinfo")
+    (synopsis "System handler to interact with processes")
+    (description
+     "This package is a library to get system information such as processes,
+processors, disks, components and networks.")
+    (license license:expat)))
+
 (define-public rust-sysinfo-0.30
   (package
     (name "rust-sysinfo")
-- 
2.47.0





This bug report was last modified 190 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.