aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2021-07-08 04:08:32 +0000
committerEfraim Flashner <efraim@flashner.co.il>2021-07-15 15:55:59 +0300
commita8090020fe763678b2541cde62c51b21b9f85f2c (patch)
treeb96ab7cb4a22a040aba3910ee08c91ee214df9f8
parent1605b444f3fb4b9a8124b3816d5a10a65ac11bb4 (diff)
downloadguix-a8090020fe763678b2541cde62c51b21b9f85f2c.tar
guix-a8090020fe763678b2541cde62c51b21b9f85f2c.tar.gz
gnu: Add rust-get-if-addrs-sys-0.1.
* gnu/packages/crates-io.scm (rust-get-if-addrs-sys-0.1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 85f1c3ca7c..e831bcca37 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18206,6 +18206,29 @@ API library @code{gdi32}.")
#:cargo-development-inputs
(("rust-approx" ,rust-approx-0.3))))))
+(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-archive/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")