From a18fea500986efa1209fd18a021a7873828f7312 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 3 Nov 2021 23:09:36 +0100 Subject: [PATCH] Revert "gnu: Add rust-sysinfo-0.20." This reverts commit cc415fd880fea9059e6d0bd4c45ce143126d9f14. Rust 1.54 is not yet packages. --- gnu/packages/crates-io.scm | 41 ++++++++------------------------------ 1 file changed, 8 insertions(+), 33 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e57abb404c..b229683ab4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -50308,40 +50308,8 @@ no_std compatible by default, only relying on alloc.") ("rust-errno" ,rust-errno-0.2) ("rust-libc" ,rust-libc-0.2)))))) -(define-public rust-sysinfo-0.20 - (package - (name "rust-sysinfo") - (version "0.20.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "sysinfo" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ljf8cdn50g9vrg4h9qxv070n4zd83cv63g62007qs8d8n1pimwj")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:rust ,rust-1.54 - #: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.3) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-rayon" ,rust-rayon-1) - ("rust-winapi" ,rust-winapi-0.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.18 (package - (inherit rust-sysinfo-0.20) (name "rust-sysinfo") (version "0.18.2") (source @@ -50353,6 +50321,7 @@ processors, disks, components and networks.") (sha256 (base32 "0zd974yydc4yszxgx9hiqm5ah2rqnsgyq3qrl7raf90scpxaw16l")))) + (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -50363,7 +50332,13 @@ processors, disks, components and networks.") ("rust-ntapi" ,rust-ntapi-0.3) ("rust-once-cell" ,rust-once-cell-1) ("rust-rayon" ,rust-rayon-1) - ("rust-winapi" ,rust-winapi-0.3)))))) + ("rust-winapi" ,rust-winapi-0.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.16 (package