From patchwork Thu Feb 23 08:42:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve George X-Patchwork-Id: 47228 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 A119016BC2; Thu, 23 Feb 2023 08:44:44 +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=ham 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 E750316B9D for ; Thu, 23 Feb 2023 08:44:43 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pV7D0-00046b-G8; Thu, 23 Feb 2023 03:44:10 -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 1pV7Cs-00043L-TB for guix-patches@gnu.org; Thu, 23 Feb 2023 03:44:04 -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 1pV7Cs-0001gt-JZ for guix-patches@gnu.org; Thu, 23 Feb 2023 03:44:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pV7Cs-0000mw-Ex for guix-patches@gnu.org; Thu, 23 Feb 2023 03:44:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61727] [PATCH 2/6] gnu: Add rust-dns-sd. Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Feb 2023 08:44: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.16771418072940 (code B ref 61727); Thu, 23 Feb 2023 08:44:02 +0000 Received: (at 61727) by debbugs.gnu.org; 23 Feb 2023 08:43:27 +0000 Received: from localhost ([127.0.0.1]:32879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pV7CI-0000lM-MK for submit@debbugs.gnu.org; Thu, 23 Feb 2023 03:43:26 -0500 Received: from mailtransmit05.runbox.com ([185.226.149.38]:41752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pV7CH-0000l9-DV for 61727@debbugs.gnu.org; Thu, 23 Feb 2023 03:43:25 -0500 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1pV7CB-000xbB-Pa for 61727@debbugs.gnu.org; Thu, 23 Feb 2023 09:43:19 +0100 Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1pV7CA-0004a7-F0; Thu, 23 Feb 2023 09:43:18 +0100 Received: by submission01.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1pV7C2-0000lA-8z; Thu, 23 Feb 2023 09:43:10 +0100 From: Steve George Date: Thu, 23 Feb 2023 08:42:37 +0000 Message-Id: <20230223084241.3762-2-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-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")