From: Vinicius Monego <monego@posteo.net>
To: 49462@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#49462] [PATCH 2/6] gnu: Add rust-get-if-addrs-sys-0.1.
Date: Thu, 8 Jul 2021 04:08:32 +0000 [thread overview]
Message-ID: <20210708040836.22307-2-monego@posteo.net> (raw)
In-Reply-To: <20210708040836.22307-1-monego@posteo.net>
* gnu/packages/crates-io.scm (rust-get-if-addrs-sys-0.1): New variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 67c8960848..2bbfba39c4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17851,6 +17851,29 @@ API library @code{gdi32}.")
"This package provides geospatial primitives and algorithms.")
(license (list license:expat license:asl2.0))))
+(define-public rust-get-if-addrs-sys-0.1
+ (package
+ (name "rust-get-if-addrs-sys")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "get_if_addrs-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0j5bypizbk59jhkaw1abkx7ydj79pplfvwq03hcnpwvcfkxzj10d"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-gcc" ,rust-gcc-0.3)
+ ("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/maidsafe/get_if_addrs")
+ (synopsis "Retrieve IP addresses for all interfaces")
+ (description "This library retrieves network interface info for all
+interfaces on the system.")
+ (license (list license:expat license:bsd-3))))
+
(define-public rust-getch-0.2
(package
(name "rust-getch")
--
2.32.0
next prev parent reply other threads:[~2021-07-08 4:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-08 4:07 [bug#49462] [PATCH 0/6] gnu: Add rust-mdns-0.3 Vinicius Monego
2021-07-08 4:08 ` [bug#49462] [PATCH 1/6] gnu: Add rust-c-linked-list-1 Vinicius Monego
2021-07-08 4:08 ` Vinicius Monego [this message]
2021-07-08 4:08 ` [bug#49462] [PATCH 3/6] gnu: Add rust-unwrap-1 Vinicius Monego
2021-07-08 4:08 ` [bug#49462] [PATCH 4/6] gnu: Add rust-get-if-addrs-0.5 Vinicius Monego
2021-07-08 4:08 ` [bug#49462] [PATCH 5/6] gnu: Add rust-dns-parser-0.8 Vinicius Monego
2021-07-08 4:08 ` [bug#49462] [PATCH 6/6] gnu: Add rust-mdns-0.3 Vinicius Monego
2021-07-15 12:58 ` bug#49462: [PATCH 0/6] " Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210708040836.22307-2-monego@posteo.net \
--to=monego@posteo.net \
--cc=49462@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.