all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Steve George <steve@futurile.net>
To: 61727@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>,
	Steve George <steve@futurile.net>
Subject: [bug#61727] [PATCH 5/6] gnu: Add rust-libmdns.
Date: Thu, 23 Feb 2023 08:42:40 +0000	[thread overview]
Message-ID: <20230223084241.3762-5-steve@futurile.net> (raw)
In-Reply-To: <20230223084241.3762-1-steve@futurile.net>

* gnu/packages/crates-io.scm (rust-libmdns): New variable.
---

 gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 26b607753b..a18247c65f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30387,6 +30387,40 @@ (define-public rust-libmimalloc-sys-0.1
 allocator.")
     (license license:expat)))
 
+(define-public rust-libmdns-0.6
+    (package
+      (name "rust-libmdns")
+      (version "0.6.3")
+      (source (origin
+                (method url-fetch)
+                (uri (crate-uri "libmdns" version))
+                (file-name (string-append name "-" version ".tar.gz"))
+                (sha256
+                  (base32 "0n1ymkv5246c5yj2m70ql07z38hrz6b2l16lg3wpb98vz7mbqd59"))))
+      (build-system cargo-build-system)
+      (arguments
+        `(#:skip-build? #f
+          #:cargo-inputs
+          (("rust-byteorder" ,rust-byteorder-1)
+           ("rust-futures-util" ,rust-futures-util-0.3)
+           ("rust-hostname" ,rust-hostname-0.3)
+           ("rust-if-addrs" ,rust-if-addrs-0.6)
+           ("rust-log" ,rust-log-0.4)
+           ("rust-multimap" ,rust-multimap-0.8)
+           ("rust-rand" ,rust-rand-0.8)
+           ("rust-socket2" ,rust-socket2-0.4)
+           ("rust-thiserror" ,rust-thiserror-1)
+           ("rust-tokio" ,rust-tokio-1))
+          #:cargo-development-inputs
+          (("rust-env-logger" ,rust-env-logger-0.8))))
+      (home-page "https://github.com/librespot-org/libmdns")
+      (synopsis "DNS-SD and mDNS library for building discoverable LAN services")
+      (description "A Multi-Cast DNS (RFC 6762) and DNS Service Discovery
+(RFC 6763) library.  Used for resolution of hostnames to IP addresses on
+networks that do not have a local name server.  Network services can be
+advertised and discovered using this mechanism.")
+      (license license:expat)))
+
 (define-public rust-libnghttp2-sys-0.1
   (package
     (name "rust-libnghttp2-sys")
-- 
2.39.1





  parent reply	other threads:[~2023-02-23  8:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-23  8:38 [bug#61727] Add rust libs for IP address and DNS Steve George
2023-02-23  8:42 ` [bug#61727] [PATCH 1/6] gnu: Update rust-base64 Steve George
2023-02-23  8:42   ` [bug#61727] [PATCH 2/6] gnu: Add rust-dns-sd Steve George
2023-02-23  8:42   ` [bug#61727] [PATCH 3/6] gnu: Add rust-if-addrs-sys Steve George
2023-02-23  8:42   ` [bug#61727] [PATCH 4/6] gnu: Add rust-if-addrs Steve George
2023-02-23  8:42   ` Steve George [this message]
2023-02-23  8:42   ` [bug#61727] [PATCH 6/6] gnu: Add rust-aes-ctr Steve George
2023-03-13 13:01   ` bug#61727: [PATCH 1/6] gnu: Update rust-base64 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=20230223084241.3762-5-steve@futurile.net \
    --to=steve@futurile.net \
    --cc=61727@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    /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.