gnu: Add rust-sysinfo-0.18.

* gnu/packages/crates-io.scm (rust-sysinfo-0.18): New variable.
(rust-sysinfo-0.16): Inherit from above.
This commit is contained in:
Nicolas Goaziou 2021-06-23 09:40:44 +02:00
parent 0ca6e13612
commit daaa3ba07f
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -46070,17 +46070,19 @@ (define-public rust-sysctl-0.1
("rust-errno" ,rust-errno-0.2) ("rust-errno" ,rust-errno-0.2)
("rust-libc" ,rust-libc-0.2)))))) ("rust-libc" ,rust-libc-0.2))))))
(define-public rust-sysinfo-0.16 (define-public rust-sysinfo-0.18
(package (package
(name "rust-sysinfo") (name "rust-sysinfo")
(version "0.16.5") (version "0.18.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "sysinfo" version)) (uri (crate-uri "sysinfo" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name
(string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "06x5kvd4glq35jjy23xj8p7nd64dk8g4kc0v9qdfhyr0y0792zjn")))) (base32
"0zd974yydc4yszxgx9hiqm5ah2rqnsgyq3qrl7raf90scpxaw16l"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:skip-build? #t
@ -46100,6 +46102,30 @@ (define-public rust-sysinfo-0.16
processors, disks, components and networks.") processors, disks, components and networks.")
(license license:expat))) (license license:expat)))
(define-public rust-sysinfo-0.16
(package
(inherit rust-sysinfo-0.18)
(name "rust-sysinfo")
(version "0.16.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "sysinfo" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "06x5kvd4glq35jjy23xj8p7nd64dk8g4kc0v9qdfhyr0y0792zjn"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-cfg-if" ,rust-cfg-if-1)
("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8)
("rust-doc-comment" ,rust-doc-comment-0.3)
("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-syslog-4 (define-public rust-syslog-4
(package (package
(name "rust-syslog") (name "rust-syslog")