From: Luca Matei Pintilie via Guix-patches via <guix-patches@gnu.org>
To: 73884@debbugs.gnu.org
Cc: Luca Matei Pintilie <luca@lucamatei.com>, efraim@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 [thread overview]
Message-ID: <20241019144935.11657-8-luca@lucamatei.com> (raw)
In-Reply-To: <20241019144935.11657-1-luca@lucamatei.com>
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
next prev parent reply other threads:[~2024-10-19 16:11 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-19 12:46 [bug#73884] [PATCH 00/19] gnu: Add swayrbar Luca Matei Pintilie via Guix-patches via
2024-10-19 14:49 ` [bug#73884] [PATCH v1 01/19] gnu: Add rust-windows-metadata-0.57 Luca Matei Pintilie via Guix-patches via
2024-10-19 14:49 ` [bug#73884] [PATCH v1 02/19] gnu: Add rust-windows-bindgen-0.57 Luca Matei Pintilie via Guix-patches via
2024-10-19 14:49 ` [bug#73884] [PATCH v1 03/19] gnu: Add rust-windows-result-0.1 Luca Matei Pintilie via Guix-patches via
2024-10-19 14:49 ` [bug#73884] [PATCH v1 04/19] gnu: Add rust-windows-interface-0.57 Luca Matei Pintilie via Guix-patches via
2024-10-19 14:49 ` [bug#73884] [PATCH v1 05/19] gnu: Add rust-windows-implement-0.57 Luca Matei Pintilie via Guix-patches via
2024-10-19 14:49 ` [bug#73884] [PATCH v1 06/19] gnu: Add rust-windows-core-0.57 Luca Matei Pintilie via Guix-patches via
2024-10-19 14:49 ` [bug#73884] [PATCH v1 07/19] gnu: Add rust-windows-0.57 Luca Matei Pintilie via Guix-patches via
2024-10-19 14:49 ` Luca Matei Pintilie via Guix-patches via [this message]
2024-10-19 14:49 ` [bug#73884] [PATCH v1 09/19] gnu: Add rust-swaybar-types-3 Luca Matei Pintilie via Guix-patches via
2024-10-19 14:49 ` [bug#73884] [PATCH v1 10/19] gnu: rust-regex-syntax-0.8: Update to 0.8.5 Luca Matei Pintilie via Guix-patches via
2024-10-19 14:49 ` [bug#73884] [PATCH v1 11/19] gnu: rust-regex-automata-0.4: Update to 0.4.8 Luca Matei Pintilie via Guix-patches via
2024-10-19 14:49 ` [bug#73884] [PATCH v1 12/19] gnu: rust-regex-1: Update to 1.11.0 Luca Matei Pintilie via Guix-patches via
2024-10-19 14:49 ` [bug#73884] [PATCH v1 13/19] gnu: Add rust-crossbeam-utils-0.8.16 Luca Matei Pintilie via Guix-patches via
2024-10-19 14:49 ` [bug#73884] [PATCH v1 14/19] gnu: rust-portable-atomic-1: Update to 1.9.0 Luca Matei Pintilie via Guix-patches via
2024-10-19 14:49 ` [bug#73884] [PATCH v1 15/19] gnu: rust-critical-section-1: Update to 1.1.3 Luca Matei Pintilie via Guix-patches via
2024-10-21 5:20 ` [bug#73884] [PATCH v1 01/19] gnu: Add rust-windows-metadata-0.57 Efraim Flashner
2024-10-20 16:15 ` [bug#73884] [PATCH v1 16/19] gnu: rust-once-cell-1: Update to 1.20.2 Luca Matei Pintilie via Guix-patches via
2024-10-20 16:15 ` [bug#73884] [PATCH v1 17/19] gnu: Add rust-uom-0.30 Luca Matei Pintilie via Guix-patches via
2024-10-20 16:15 ` [bug#73884] [PATCH v1 18/19] gnu: Add rust-battery-0.7 Luca Matei Pintilie via Guix-patches via
2024-10-20 16:15 ` [bug#73884] [PATCH v1 19/19] gnu: Add swayrbar Luca Matei Pintilie via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241019144935.11657-8-luca@lucamatei.com \
--to=guix-patches@gnu.org \
--cc=73884@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
--cc=luca@lucamatei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).