[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
76/330: gnu: Add rust-sysinfo-0.30.
From: |
guix-commits |
Subject: |
76/330: gnu: Add rust-sysinfo-0.30. |
Date: |
Mon, 18 Mar 2024 07:15:18 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 123bc57df17ec5f553cc3a1093de233efc3124ed
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 14 13:36:46 2024 +0200
gnu: Add rust-sysinfo-0.30.
* gnu/packages/crates-io.scm (rust-sysinfo-0.30): New variable.
(rust-sysinfo-0.28): Inherit from rust-sysinfo-0.30.
Change-Id: I582ea9ef9068b8719f61cead34ef162f8ca4a2f7
---
gnu/packages/crates-io.scm | 48 ++++++++++++++++++++++++++++++++++++++--------
1 file changed, 40 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index adc398d2d8..2d5dad599a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68817,8 +68817,47 @@ information to the kernel using the sysctl interface.")
("rust-errno" ,rust-errno-0.2)
("rust-libc" ,rust-libc-0.2))))))
+(define-public rust-sysinfo-0.30
+ (package
+ (name "rust-sysinfo")
+ (version "0.30.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sysinfo" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "064d267hiqnj2jd9rmkki3fra9yjza6gr6i02qm8a2iqxy45hf0c"))))
+ (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")
+ #: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-windows" ,rust-windows-0.52))
+ #:cargo-development-inputs (("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.28
(package
+ (inherit rust-sysinfo-0.30)
(name "rust-sysinfo")
(version "0.28.4")
(source
@@ -68828,7 +68867,6 @@ information to the kernel using the sysctl interface.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "06zk8awy8gjrk3w68wpkqyprm3j82vq1cibji6db5zlkcv5g7hml"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
(list "--release" "--"
@@ -68849,13 +68887,7 @@ information to the kernel using the sysctl interface.")
("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 "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)))
+ ("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-sysinfo-0.27
(package
- 133/330: gnu: Add rust-value-trait-0.8., (continued)
- 133/330: gnu: Add rust-value-trait-0.8., guix-commits, 2024/03/18
- 134/330: gnu: Add rust-unicode-reverse-1., guix-commits, 2024/03/18
- 135/330: gnu: Add rust-typewit-1., guix-commits, 2024/03/18
- 146/330: gnu: Add rust-sample-arrow2-0.1., guix-commits, 2024/03/18
- 150/330: gnu: Add rust-polars-ops-0.37., guix-commits, 2024/03/18
- 52/330: gnu: rust-os-pipe-1: Update to 1.1.5., guix-commits, 2024/03/18
- 140/330: gnu: Add rust-sqlparser-0.39., guix-commits, 2024/03/18
- 138/330: gnu: Add rust-target-features-0.1., guix-commits, 2024/03/18
- 71/330: gnu: Add rust-lscolors-0.17., guix-commits, 2024/03/18
- 73/330: gnu: Add rust-windows-implement-0.52., guix-commits, 2024/03/18
- 76/330: gnu: Add rust-sysinfo-0.30.,
guix-commits <=
- 100/330: gnu: Add rust-apache-avro-test-helper-0.16., guix-commits, 2024/03/18
- 108/330: gnu: Add rust-typewit-proc-macros-1., guix-commits, 2024/03/18
- 149/330: gnu: Add rust-quad-rand-0.2., guix-commits, 2024/03/18
- 151/330: gnu: Add rust-polars-ffi-0.37., guix-commits, 2024/03/18
- 153/330: gnu: Add rust-planus-0.3., guix-commits, 2024/03/18
- 155/330: gnu: Add rust-object-store-0.9., guix-commits, 2024/03/18
- 160/330: gnu: Add rust-hexf-parse-0.1., guix-commits, 2024/03/18
- 77/330: gnu: Add rust-which-6., guix-commits, 2024/03/18
- 75/330: gnu: Add rust-windows-0.52., guix-commits, 2024/03/18
- 103/330: gnu: Add rust-odbc-sys-0.21., guix-commits, 2024/03/18