From patchwork Thu Feb 23 08:42:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve George X-Patchwork-Id: 47231 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 37D4A16BBC; Thu, 23 Feb 2023 08:45:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 60A3B16B9D for ; Thu, 23 Feb 2023 08:45:17 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pV7Ds-0004W9-DZ; Thu, 23 Feb 2023 03:45:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pV7Dq-0004Vi-KH for guix-patches@gnu.org; Thu, 23 Feb 2023 03:45:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pV7Dq-0002N5-Bt for guix-patches@gnu.org; Thu, 23 Feb 2023 03:45:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pV7Dq-0000pQ-7s for guix-patches@gnu.org; Thu, 23 Feb 2023 03:45:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61727] [PATCH 5/6] gnu: Add rust-libmdns. Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Feb 2023 08:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61727 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 61727@debbugs.gnu.org Cc: Efraim Flashner , Steve George Received: via spool by 61727-submit@debbugs.gnu.org id=B61727.16771418563102 (code B ref 61727); Thu, 23 Feb 2023 08:45:02 +0000 Received: (at 61727) by debbugs.gnu.org; 23 Feb 2023 08:44:16 +0000 Received: from localhost ([127.0.0.1]:32895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pV7D6-0000ns-FZ for submit@debbugs.gnu.org; Thu, 23 Feb 2023 03:44:16 -0500 Received: from mailtransmit04.runbox.com ([185.226.149.37]:37424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pV7D4-0000nY-Fa for 61727@debbugs.gnu.org; Thu, 23 Feb 2023 03:44:14 -0500 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1pV7Cy-000wX4-Sr; Thu, 23 Feb 2023 09:44:08 +0100 Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1pV7Cy-0007nV-K9; Thu, 23 Feb 2023 09:44:08 +0100 Received: by submission02.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1pV7Ch-0001rI-Ce; Thu, 23 Feb 2023 09:43:51 +0100 From: Steve George Date: Thu, 23 Feb 2023 08:42:40 +0000 Message-Id: <20230223084241.3762-5-steve@futurile.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230223084241.3762-1-steve@futurile.net> References: <20230223084241.3762-1-steve@futurile.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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")