From 9cf74d8f23825e8b11fbe2dd76d9f02eaf6a9a74 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Thu, 8 Jul 2021 04:08:36 +0000 Subject: gnu: Add rust-mdns-0.3. * gnu/packages/crates-io.scm (rust-mdns-0.3): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fd2292b4f5..a6a383156d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -25918,6 +25918,32 @@ (define-public rust-md5-asm-0.4 (supported-systems '("x86_64-linux" "i686-linux")) (license license:expat))) +(define-public rust-mdns-0.3 + (package + (name "rust-mdns") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "mdns" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0a96id6nzpbqhdiv90fdmaji0nlmfsdcbk1nvrmapv5xw6fiaclw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-dns-parser" ,rust-dns-parser-0.8) + ("rust-error-chain" ,rust-error-chain-0.12) + ("rust-get-if-addrs" ,rust-get-if-addrs-0.5) + ("rust-mio" ,rust-mio-0.6) + ("rust-net2" ,rust-net2-0.2)))) + (home-page "https://github.com/dylanmckay/mdns") + (synopsis "Multicast DNS client library") + (description "This package provides a multicast DNS client library. It +supports discovery of any mDNS device on a LAN.") + (license license:expat))) + (define-public rust-measureme-0.7 (package (name "rust-measureme") -- cgit v1.2.3