mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 07:56:16 -05:00
gnu: Add rust-sysinfo-0.28.
* gnu/packages/crates-io.scm (rust-sysinfo-0.28): New variable. (rust-sysinfo-0.27): Inherit from rust-sysinfo-0.28. Change-Id: Iece357b663a637b4e58c9900ecefcffc70b53fed Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
9498bd2cbd
commit
ec8b43aa25
1 changed files with 46 additions and 11 deletions
|
@ -33,7 +33,7 @@
|
|||
;;; Copyright © 2022 Paul Alesius <paul@unnservice.com>
|
||||
;;; Copyright © 2023 Arnav Andrew Jose <arnav.jose@gmail.com>
|
||||
;;; Copyright © 2023 Wilko Meyer <w@wmeyer.eu>
|
||||
;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com>
|
||||
;;; Copyright © 2023, 2024 Jaeme Sifat <jaeme@runbox.com>
|
||||
;;; Copyright © 2023 Steve George <steve@futurile.net>
|
||||
;;; Copyright © 2023 Sergio Pastor Pérez <sergio.pastorperez@outlook.es>
|
||||
;;; Copyright © 2023 VÖRÖSKŐI András <voroskoi@gmail.com>
|
||||
|
@ -72083,17 +72083,17 @@ (define-public rust-sysctl-0.1
|
|||
("rust-errno" ,rust-errno-0.2)
|
||||
("rust-libc" ,rust-libc-0.2))))))
|
||||
|
||||
(define-public rust-sysinfo-0.27
|
||||
(define-public rust-sysinfo-0.28
|
||||
(package
|
||||
(name "rust-sysinfo")
|
||||
(version "0.27.8")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "sysinfo" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0cqy39g76298pqfr8jv30j6cxl9bpnd7c2smfxl5s2na1w2yj0m9"))))
|
||||
(version "0.28.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "sysinfo" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "06zk8awy8gjrk3w68wpkqyprm3j82vq1cibji6db5zlkcv5g7hml"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-test-flags
|
||||
|
@ -72111,8 +72111,11 @@ (define-public rust-sysinfo-0.27
|
|||
("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-tempfile" ,rust-tempfile-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
|
||||
|
@ -72120,6 +72123,38 @@ (define-public rust-sysinfo-0.27
|
|||
processors, disks, components and networks.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-sysinfo-0.27
|
||||
(package
|
||||
(inherit rust-sysinfo-0.28)
|
||||
(name "rust-sysinfo")
|
||||
(version "0.27.8")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "sysinfo" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0cqy39g76298pqfr8jv30j6cxl9bpnd7c2smfxl5s2na1w2yj0m9"))))
|
||||
(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-winapi" ,rust-winapi-0.3))
|
||||
#:cargo-development-inputs
|
||||
(("rust-tempfile" ,rust-tempfile-3))))))
|
||||
|
||||
(define-public rust-sysinfo-0.15
|
||||
(package
|
||||
(inherit rust-sysinfo-0.27)
|
||||
|
|
Loading…
Reference in a new issue