[bug#74743,rust-team,v2,41/68] gnu: rust-local-ip-0.6: New variable.

Message ID 20250319011932.1899508-42-aaron.covrig.us@ieee.org
State New
Headers
Series Assorted rust-* package upgrades |

Commit Message

Aaron Covrig March 19, 2025, 1:18 a.m. UTC
  * gnu/packages/crates-io.scm (rust-local-ip-0.6): New variable.

Signed-off-by: Aaron Covrig <aaron.covrig.us@ieee.org>
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++----
 1 file changed, 23 insertions(+), 4 deletions(-)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 711bda0dc1..ff48d66426 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40625,24 +40625,24 @@  (define-public rust-local-fmt-macros-internal-0.4
 developers to define messages in a structured and maintainable way.")
     (license license:expat)))
 
-(define-public rust-local-ip-address-0.5
+(define-public rust-local-ip-address-0.6
   (package
     (name "rust-local-ip-address")
-    (version "0.5.7")
+    (version "0.6.3")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "local-ip-address" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0pfiy5pj70y0ycdf3scmxpgmj7jyi99054rk4rfzpb75kkmd8bk1"))))
+        (base32 "10hpiqpwsm2f2pip0pynsibzaw0f6mc5xhacr27pxlpqc5awys9n"))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f  ; Integration test with local IP address.
        #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
                        ("rust-neli" ,rust-neli-0.6)
                        ("rust-thiserror" ,rust-thiserror-1)
-                       ("rust-windows-sys" ,rust-windows-sys-0.48))))
+                       ("rust-windows-sys" ,rust-windows-sys-0.59))))
     (home-page "https://github.com/EstebanBorai/local-ip-address")
     (synopsis
      "Retrieve system's local IP address and network interfaces/adapters")
@@ -40651,6 +40651,25 @@  (define-public rust-local-ip-address-0.5
 network interfaces/adapters.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-local-ip-address-0.5
+  (package
+    (inherit rust-local-ip-address-0.6)
+    (name "rust-local-ip-address")
+    (version "0.5.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "local-ip-address" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0pfiy5pj70y0ycdf3scmxpgmj7jyi99054rk4rfzpb75kkmd8bk1"))))
+    (arguments
+     `(#:tests? #f  ; Integration test with local IP address.
+       #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-neli" ,rust-neli-0.6)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-windows-sys" ,rust-windows-sys-0.48))))))
+
 (define-public rust-local-waker-0.1
   (package
     (name "rust-local-waker")