diff options
author | Steve George <steve@futurile.net> | 2023-10-20 21:27:58 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-22 11:28:35 +0300 |
commit | 20aadb1d944eb124a38357c117bfc805bd36bebc (patch) | |
tree | 7b7ce8118210a63057093a97fc35547bccc19831 /gnu/packages | |
parent | 96e873c878722b115457c944abe3adb1c6ee214d (diff) | |
download | guix-20aadb1d944eb124a38357c117bfc805bd36bebc.tar.gz |
gnu: Add rust-if-addrs-0.7.
* gnu/packages/crates-io.scm (rust-if-addrs-0.7): New variable. (rust-if-addrs-0.6): Inherit from rust-if-addrs-0.7. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 41 |
1 files changed, 29 insertions, 12 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 71c9fed687..c35d97b617 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -32624,22 +32624,22 @@ with hyper.") floating-point numbers.") (license (list license:expat license:asl2.0)))) -(define-public rust-if-addrs-0.6 +(define-public rust-if-addrs-0.7 (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")))) + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "if-addrs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1a81w57p0hx6ql2ds2ayps38n0ndfaqcs618qzdyjln7zw0zmh6b")))) (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)))) + (list #:cargo-inputs + `(("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") @@ -32647,6 +32647,23 @@ floating-point numbers.") on both POSIX and Microsoft Windows hosts.") (license (list license:expat license:bsd-3)))) +(define-public rust-if-addrs-0.6 + (package + (inherit rust-if-addrs-0.7) + (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")))) + (arguments + (list #:cargo-inputs `(("rust-if-addrs-sys" ,rust-if-addrs-sys-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)))))) + (define-public rust-if-addrs-sys-0.3 (package (name "rust-if-addrs-sys") |