Subject: [bug#45276] [PATCH 16/26] gnu: rust-socket2: Update to 0.3.18.

From: Hartmut Goebel <[email-masked]>
Date: Wed, 16 Dec 2020 21:36:24 +0100

* gnu/packages/crates-io.scm (rust-socket2): Update to 0.3.18.
  [arguments] Add skip-build. {cargo-inputs}: Update rust-cfg-if to
  rust-cfg-if-1, remove rust-redox-syscall.
---
 gnu/packages/crates-io.scm | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7a384bb9df..c6072639fd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27885,22 +27885,21 @@ stack.")
 (define-public rust-socket2-0.3
   (package
     (name "rust-socket2")
-    (version "0.3.11")
+    (version "0.3.18")
     (source
       (origin
         (method url-fetch)
         (uri (crate-uri "socket2" version))
         (file-name (string-append name "-" version ".crate"))
         (sha256
-         (base32
-          "11bdcz04i106g4q7swkll0qxrb4287srqd2k3aq2q6i22zjlvdz8"))))
+         (base32 "0mqh39dkspcz3x11jhck9k2yrbx2krawn7xr3zva8n3lazyykq4p"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:tests? #f      ; tests require network access
+     `(#:skip-build? #t
+       #:tests? #f      ; tests require network access
        #:cargo-inputs
-       (("rust-cfg-if" ,rust-cfg-if-0.1)
+       (("rust-cfg-if" ,rust-cfg-if-1)
         ("rust-libc" ,rust-libc-0.2)
-        ("rust-redox-syscall" ,rust-redox-syscall-0.1)
         ("rust-winapi" ,rust-winapi-0.3))
        #:cargo-development-inputs
        (("rust-tempdir" ,rust-tempdir-0.3))))
-- 
2.21.3