mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: Add rust-if-addrs-0.6.
* gnu/packages/crates-io.scm (rust-if-addrs-0.6): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
5e15679365
commit
2df8284800
1 changed files with 23 additions and 0 deletions
|
@ -28242,6 +28242,29 @@ (define-public rust-ieee754-0.2
|
||||||
floating-point numbers.")
|
floating-point numbers.")
|
||||||
(license (list license:expat license:asl2.0))))
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
|
(define-public rust-if-addrs-0.6
|
||||||
|
(package
|
||||||
|
(name "rust-if-addrs")
|
||||||
|
(version "0.6.7")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "if-addrs" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1pkkkwm9znn07xq9s6glf8lxzn2rdxvy8kwkw6czrw64ywhy8wr2"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-if-addrs-sys" ,rust-if-addrs-sys-0.3)
|
||||||
|
("rust-libc" ,rust-libc-0.2)
|
||||||
|
("rust-winapi" ,rust-winapi-0.3))))
|
||||||
|
(native-inputs (list iproute))
|
||||||
|
(home-page "https://github.com/messense/if-addrs")
|
||||||
|
(synopsis "Return interface IP addresses on POSIX and Windows systems")
|
||||||
|
(description "Returns the IP addresses for all network interfaces,
|
||||||
|
on both POSIX and Microsoft Windows hosts.")
|
||||||
|
(license (list license:expat license:bsd-3))))
|
||||||
|
|
||||||
(define-public rust-if-addrs-sys-0.3
|
(define-public rust-if-addrs-sys-0.3
|
||||||
(package
|
(package
|
||||||
(name "rust-if-addrs-sys")
|
(name "rust-if-addrs-sys")
|
||||||
|
|
Loading…
Reference in a new issue