summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Rodrigues <arthurhdrodrigues@proton.me>2025-10-26 18:22:22 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-09 09:10:04 +0000
commitcde61d582df066b4c537075c54fb0fb33103c71a (patch)
treeb9acc55260f7f2d268a76a595b6470e3af6cb6e9
parenta78954d2319afe5510aed5f22f9343ca61f2b544 (diff)
gnu: Add go-github-com-hashicorp-mdns.
* gnu/packages/golang-web.scm (go-github-com-hashicorp-mdns): New variable. Change-Id: I85559be6a8888bd39dd7e1473fd3319ce4ee5b33 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/golang-web.scm36
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 8e45c9aa3fa..9f605c75009 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -5637,6 +5637,42 @@ API.")
types and related helper functions.")
(license license:mpl2.0)))
+(define-public go-github-com-hashicorp-mdns
+ (package
+ (name "go-github-com-hashicorp-mdns")
+ (version "1.0.6")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hashicorp/mdns")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1pl9b4h46vzkxsxg1sq9g01y4cmxwfcy07a4v3r5c5b125p57fg6"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/hashicorp/mdns"
+ #:test-flags
+ #~(list "-skip"
+ (string-join
+ ;; err: no multicast listeners could be started
+ (list "TestServer_StartStop"
+ "TestServer_Lookup")
+ "|"))))
+ (propagated-inputs
+ (list go-github-com-miekg-dns
+ go-golang-org-x-net))
+ (home-page "https://github.com/hashicorp/mdns")
+ (synopsis "Simple mDNS client/server library in Golang")
+ (description
+ "This package is a simple @acronym{mDNS,Multicast Domain Name Service}
+client/server library in Go. @code{mDNS} can be used to discover services on
+the local network without the use of an authoritative DNS server. This
+enables peer-to-peer discovery.")
+ (license license:expat)))
+
(define-public go-github-com-hashicorp-memberlist
(package
(name "go-github-com-hashicorp-memberlist")