~ruther/guix-local

cde61d582df066b4c537075c54fb0fb33103c71a — Arthur Rodrigues 5 months ago a78954d
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>
1 files changed, 36 insertions(+), 0 deletions(-)

M gnu/packages/golang-web.scm
M gnu/packages/golang-web.scm => gnu/packages/golang-web.scm +36 -0
@@ 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")