From 3ae8630c2439246a4c478cd4c707f6b275693544 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 1 Sep 2024 22:28:54 +0100 Subject: [PATCH] gnu: Add go-github-com-libp2p-zeroconf-v2. * gnu/packages/golang-web.scm (go-github-com-libp2p-zeroconf-v2): New variable. Change-Id: I84c11a1f8257b06dca9aeec8fa8359002f6f64a7 --- gnu/packages/golang-web.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 2c34d8053f..0caa673f6d 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -2944,6 +2944,35 @@ (define-public go-github-com-libp2p-go-yamux-v4 It is inspired by SPDY but is not interoperable with it.") (license (list license:mpl2.0 license:bsd-3)))) +(define-public go-github-com-libp2p-zeroconf-v2 + (package + (name "go-github-com-libp2p-zeroconf-v2") + (version "2.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/libp2p/zeroconf") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0xrqdi7s8296963zh7gz450ivbniar7723xlr8v9nh90cyy1ah3r")))) + (build-system go-build-system) + (arguments + (list + #:tests? #f ; it requires netwok setup + #:import-path "github.com/libp2p/zeroconf/v2")) + (propagated-inputs + (list go-github-com-miekg-dns go-golang-org-x-net)) + (home-page "https://github.com/libp2p/zeroconf") + (synopsis "mDNS/DNS-SD Service Discovery in pure Golang") + (description + "This package implements a service discovery functionality specified in +@url{https://tools.ietf.org/html/rfc6762, RFC 6762} (mDNS) and +@url{https://tools.ietf.org/html/rfc6763, RFC 6763} (DNS-SD) standards which +intends to be compatible with Avahi.") + (license license:expat))) + (define-public go-github-com-mailru-easyjson (package (name "go-github-com-mailru-easyjson")