guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#66842] [PATCH 34/39] gnu: Add rust-local-ip-address-0.4.


From: Jaeme Sifat
Subject: [bug#66842] [PATCH 34/39] gnu: Add rust-local-ip-address-0.4.
Date: Mon, 30 Oct 2023 22:52:38 -0400

* gnu/packages/crates-io.scm (rust-local-ip-address-0.4): New variable.

Change-Id: I8e6d544858d6e3adc72eebdbb38730c1e1acd6be
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0af094383b..1e2f72f543 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38791,6 +38791,33 @@ (define-public rust-locale-config-0.3
 by inspecting the system for user preference.")
     (license license:expat)))
 
+(define-public rust-local-ip-address-0.4
+  (package
+    (name "rust-local-ip-address")
+    (version "0.4.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "local-ip-address" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1xc88i6v43rx5f5im0zadd8nl3k7wvf2lv351q20d05h5w4pzawy"))))
+    (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.5)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-windows-sys" ,rust-windows-sys-0.42))))
+    (home-page "https://github.com/EstebanBorai/local-ip-address";)
+    (synopsis
+     "Retrieve system's local IP address and network interfaces/adapters on
+Linux")
+    (description
+     "This package provides retrieving the system's local IP address and
+network interfaces/adapters on Linux.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-lock-api-0.4
   (package
     (name "rust-lock-api")
-- 
2.34.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]