From 87670e08701eb87ee5334ece717c169cabcc10ad Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 22 Sep 2024 12:13:14 +0300 Subject: [PATCH] gnu: Add rust-sysinfo-0.29. * gnu/packages/crates-io.scm (rust-sysinfo-0.29): New variable. Change-Id: I94f82bcdf20ef90629f18cb52926e4fdffa65111 --- gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cf300885d3..99b48ecc17 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -78560,6 +78560,38 @@ (define-public rust-sysinfo-0.30 processors, disks, components and networks.") (license license:expat))) +(define-public rust-sysinfo-0.29 + (package + (inherit rust-sysinfo-0.30) + (name "rust-sysinfo") + (version "0.29.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "sysinfo" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rp6911qqjppvvbh72j27znscrawfvplqlyrj9n0y1n24g27ywnd")))) + (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") + #: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)))))) + (define-public rust-sysinfo-0.28 (package (inherit rust-sysinfo-0.30)