From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gelRy-0004nm-UT for guix-patches@gnu.org; Wed, 02 Jan 2019 13:41:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gelRu-0004QD-VO for guix-patches@gnu.org; Wed, 02 Jan 2019 13:41:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:34560) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gelRu-0004Q8-RY for guix-patches@gnu.org; Wed, 02 Jan 2019 13:41:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gelRu-0007w9-O7 for guix-patches@gnu.org; Wed, 02 Jan 2019 13:41:02 -0500 Subject: [bug#33954] [PATCH 1/3] gnu: Add libmicrodns. References: <20190102183813.5132-1-m.othacehe@gmail.com> In-Reply-To: <20190102183813.5132-1-m.othacehe@gmail.com> Resent-Message-ID: From: Mathieu Othacehe Date: Wed, 2 Jan 2019 19:40:14 +0100 Message-Id: <20190102184016.5269-1-m.othacehe@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 33954@debbugs.gnu.org * gnu/packages/dns.scm (libmicrodns): New package. --- gnu/packages/dns.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm index c7b630364..2ebc3d8da 100644 --- a/gnu/packages/dns.scm +++ b/gnu/packages/dns.scm @@ -10,6 +10,7 @@ ;;; Copyright © 2017 Vasile Dumitrascu ;;; Copyright © 2017 Gregor Giesen ;;; Copyright © 2018 Oleg Pykhalov +;;; Copyright © 2019 Mathieu Othacehe ;;; ;;; This file is part of GNU Guix. ;;; @@ -781,3 +782,30 @@ attempts the update when it has changed.") "@command{hnsd} is a @dfn{host name resolver} for the Handshake Naming System (HNS) peer-to-peer network.") (license license:expat)))) + +(define-public libmicrodns + (package + (name "libmicrodns") + (version "0.0.10") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/videolabs/libmicrodns") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1xvl9k49ng35wbsqmnjnyqvkyjf8dcq2ywsq3jp3wh0rgmxhq2fh")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool))) + (home-page "https://github.com/videolabs/libmicrodns") + (synopsis "Minimal mDNS resolver library") + (description "@code{libmicrodns} provides a minimal implementation of a +mDNS resolver as well as an announcer. mDNS (Multicast Domain Name System) is +a zero-config service that allows one to resolve host names to IP addresses in +local networks.") + (license license:lgpl2.1))) -- 2.20.1