From: Vinicius Monego <monego@posteo.net>
To: 49462@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#49462] [PATCH 4/6] gnu: Add rust-get-if-addrs-0.5.
Date: Thu, 8 Jul 2021 04:08:34 +0000 [thread overview]
Message-ID: <20210708040836.22307-4-monego@posteo.net> (raw)
In-Reply-To: <20210708040836.22307-1-monego@posteo.net>
* gnu/packages/crates-io.scm (rust-get-if-addrs-0.5): New variable.
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bfe51a0fc7..b694501af1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17851,6 +17851,35 @@ API library @code{gdi32}.")
"This package provides geospatial primitives and algorithms.")
(license (list license:expat license:asl2.0))))
+(define-public rust-get-if-addrs-0.5
+ (package
+ (name "rust-get-if-addrs")
+ (version "0.5.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "get_if_addrs" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1xsfxq3ga63vllw5k6pxpdlfp3m6fh8jiga865gr4cldi5dbbpdb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;tests use the network
+ #:cargo-inputs
+ (("rust-c-linked-list" ,rust-c-linked-list-1)
+ ("rust-clippy" ,rust-clippy-0.0)
+ ("rust-get-if-addrs-sys"
+ ,rust-get-if-addrs-sys-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-winapi" ,rust-winapi-0.2))
+ #:cargo-development-inputs
+ (("rust-unwrap" ,rust-unwrap-1))))
+ (home-page "https://maidsafe.net")
+ (synopsis "Return interface IP addresses")
+ (description "This library returns interface IP addresses.")
+ (license (list license:expat license:bsd-3))))
+
(define-public rust-get-if-addrs-sys-0.1
(package
(name "rust-get-if-addrs-sys")
--
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 ` [bug#49462] [PATCH 2/6] gnu: Add rust-get-if-addrs-sys-0.1 Vinicius Monego
2021-07-08 4:08 ` [bug#49462] [PATCH 3/6] gnu: Add rust-unwrap-1 Vinicius Monego
2021-07-08 4:08 ` Vinicius Monego [this message]
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-4-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.