~ruther/guix-local

a18fea500986efa1209fd18a021a7873828f7312 — Nicolas Goaziou 4 years ago 5da0efb
Revert "gnu: Add rust-sysinfo-0.20."

This reverts commit cc415fd880fea9059e6d0bd4c45ce143126d9f14.

Rust 1.54 is not yet packages.
1 files changed, 5 insertions(+), 30 deletions(-)

M gnu/packages/crates-io.scm
M gnu/packages/crates-io.scm => gnu/packages/crates-io.scm +5 -30
@@ 50308,10 50308,10 @@ 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.18
  (package
    (name "rust-sysinfo")
    (version "0.20.3")
    (version "0.18.2")
    (source
     (origin
       (method url-fetch)


@@ 50319,14 50319,15 @@ no_std compatible by default, only relying on alloc.")
       (file-name
        (string-append name "-" version ".tar.gz"))
       (sha256
        (base32 "0ljf8cdn50g9vrg4h9qxv070n4zd83cv63g62007qs8d8n1pimwj"))))
        (base32
         "0zd974yydc4yszxgx9hiqm5ah2rqnsgyq3qrl7raf90scpxaw16l"))))
    (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)


@@ 50339,32 50340,6 @@ no_std compatible by default, only relying on alloc.")
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)