guix-commits
[Top][All Lists]
Advanced

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

288/469: gnu: Add rust-if-addrs-sys-0.3.


From: guix-commits
Subject: 288/469: gnu: Add rust-if-addrs-sys-0.3.
Date: Tue, 25 Apr 2023 15:03:45 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 32ca2ff12c7e7a5c26f117bc42246d8b507365df
Author: Steve George <steve@futurile.net>
AuthorDate: Thu Feb 23 08:42:38 2023 +0000

    gnu: Add rust-if-addrs-sys-0.3.
    
    * gnu/packages/crates-io.scm (rust-if-addrs-sys-0.3): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0076008a9a..5c3a9664b7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28242,6 +28242,27 @@ with hyper.")
 floating-point numbers.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-if-addrs-sys-0.3
+  (package
+    (name "rust-if-addrs-sys")
+    (version "0.3.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "if-addrs-sys" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 
"1skrzs79rafv185064p44r0k1va9ig4bfnpbwlvyhxh4g3fvjx6y"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-cc", rust-cc-1)
+        ("rust-libc" ,rust-libc-0.2))))
+    (home-page "https://github.com/messense/if-addrs";)
+    (synopsis "Retrieve the IP addresses for all network interfaces")
+    (description "Retrieve the IP addresses for all network interfaces.
+Works on POSIX and Windows hosts.")
+    (license (list license:expat license:bsd-3))))
+
 (define-public rust-if-chain-1
   (package
     (name "rust-if-chain")



reply via email to

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