unofficial mirror of guix-patches@gnu.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 2/6] gnu: Add rust-dns-sd.
Date: Thu, 23 Feb 2023 08:42:37 +0000	[thread overview]
Message-ID: <20230223084241.3762-2-steve@futurile.net> (raw)
In-Reply-To: <20230223084241.3762-1-steve@futurile.net>

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aa1fc169c4..db18d62870 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57,6 +57,7 @@ (define-module (gnu packages crates-io)
   #:use-module (gnu packages)
   #:use-module (gnu packages admin)
   #:use-module (gnu packages autotools)
+  #:use-module (gnu packages avahi)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages cmake)
   #:use-module (gnu packages compression)
@@ -17616,6 +17617,30 @@ (define-public rust-dns-parser-0.8
 not support network, only raw protocol parser.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-dns-sd-0.1
+    (package
+      (name "rust-dns-sd")
+      (version "0.1.3")
+      (source (origin
+                (method url-fetch)
+                (uri (crate-uri "dns-sd" version))
+                (file-name (string-append name "-" version ".tar.gz"))
+                (sha256
+                  (base32 "11r0jymjshfnn3sh2nqjhrikk4r5rr1g36sip9iqy8i0xafm0j6p"))))
+      (build-system cargo-build-system)
+      (arguments
+        `(#:skip-build? #f
+          #:cargo-inputs
+          (("rust-libc" ,rust-libc-0.2))
+          #:cargo-development-inputs
+          (("rust-pkg-config" ,rust-pkg-config-0.3))))
+      (inputs (list avahi))
+      (native-inputs (list pkg-config))
+      (home-page "https://github.com/plietar/rust-dns-sd")
+      (synopsis "Rust binding for DNS-SD")
+      (description "Rust bindings for DNS Service Discovery (DNS-SD)")
+      (license license:expat)))
+
 (define-public rust-doc-comment-0.3
   (package
     (name "rust-doc-comment")
-- 
2.39.1





  reply	other threads:[~2023-02-23  8:44 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   ` Steve George [this message]
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   ` [bug#61727] [PATCH 5/6] gnu: Add rust-libmdns Steve George
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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230223084241.3762-2-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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).