aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-17 22:54:46 +0100
committerLeo Famulari <leo@famulari.name>2021-12-28 14:10:18 -0500
commitb236ea0f8d97b3ec5ed8ac8205dbb9779feb0519 (patch)
tree70497a1779220d23283a250dce6e2d832510e0df /gnu/packages/crates-io.scm
parent4302706c82c344fccb77494ef46827e073fa2ee3 (diff)
downloadguix-b236ea0f8d97b3ec5ed8ac8205dbb9779feb0519.tar
guix-b236ea0f8d97b3ec5ed8ac8205dbb9779feb0519.tar.gz
gnu: Add rust-sysinfo-0.21.
* gnu/packages/crates-io.scm (rust-sysinfo-0.21): New variable. (rust-sysinfo-0.20): Inherit from above.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm33
1 files changed, 28 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6653984e6b..e4f4949b2a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53798,18 +53798,17 @@ 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
+(define-public rust-sysinfo-0.21
(package
(name "rust-sysinfo")
- (version "0.20.3")
+ (version "0.21.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "sysinfo" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0ljf8cdn50g9vrg4h9qxv070n4zd83cv63g62007qs8d8n1pimwj"))))
+ (base32 "04zmi5fr2r3yk4wf56ni0i9l0vnaimhs4hcqm1yg0qm4di52qv7v"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -53828,6 +53827,30 @@ no_std compatible by default, only relying on alloc.")
processors, disks, components and networks.")
(license license:expat)))
+(define-public rust-sysinfo-0.20
+ (package
+ (inherit rust-sysinfo-0.21)
+ (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"))))
+ (arguments
+ `(#:skip-build? #t
+ #: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))))))
+
(define-public rust-sysinfo-0.18
(package
(inherit rust-sysinfo-0.20)