mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 03:45:24 -05:00
gnu: Add rust-sysinfo-0.20.
* gnu/packages/crates-io.scm (rust-sysinfo-0.20): New variable.
This commit is contained in:
parent
a2b7abb99b
commit
cc415fd880
1 changed files with 30 additions and 5 deletions
|
@ -49637,10 +49637,10 @@ (define-public rust-sysctl-0.1
|
|||
("rust-errno" ,rust-errno-0.2)
|
||||
("rust-libc" ,rust-libc-0.2))))))
|
||||
|
||||
(define-public rust-sysinfo-0.18
|
||||
(define-public rust-sysinfo-0.20
|
||||
(package
|
||||
(name "rust-sysinfo")
|
||||
(version "0.18.2")
|
||||
(version "0.20.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -49648,15 +49648,14 @@ (define-public rust-sysinfo-0.18
|
|||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0zd974yydc4yszxgx9hiqm5ah2rqnsgyq3qrl7raf90scpxaw16l"))))
|
||||
(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-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)
|
||||
|
@ -49669,6 +49668,32 @@ (define-public rust-sysinfo-0.18
|
|||
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
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "sysinfo" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0zd974yydc4yszxgx9hiqm5ah2rqnsgyq3qrl7raf90scpxaw16l"))))
|
||||
(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-sysinfo-0.16
|
||||
(package
|
||||
(inherit rust-sysinfo-0.18)
|
||||
|
|
Loading…
Reference in a new issue