mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
gnu: Add go-github-com-hashicorp-go-sockaddr.
* gnu/packages/golang-web.scm (go-github-com-hashicorp-go-sockaddr): New variable. Change-Id: Iea01aba92c4621db7264928a205bc8fe12136d47
This commit is contained in:
parent
28e5066d9d
commit
fc733ac366
1 changed files with 46 additions and 0 deletions
|
@ -3264,6 +3264,52 @@ (define-public go-github-com-hashicorp-go-retryablehttp
|
||||||
API.")
|
API.")
|
||||||
(license license:mpl2.0)))
|
(license license:mpl2.0)))
|
||||||
|
|
||||||
|
(define-public go-github-com-hashicorp-go-sockaddr
|
||||||
|
(package
|
||||||
|
(name "go-github-com-hashicorp-go-sockaddr")
|
||||||
|
(version "1.0.7")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/hashicorp/go-sockaddr")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "1ajcffaqxrbqyg00b04a1ia7np0180x7z5q3bcxqxm0smqqag54z"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
#~(begin
|
||||||
|
(delete-file-recursively "cmd/sockaddr/vendor")))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:import-path "github.com/hashicorp/go-sockaddr"
|
||||||
|
#:test-flags
|
||||||
|
#~(list "-skip"
|
||||||
|
(string-join
|
||||||
|
;; Tests require network set-up or fail randomly.
|
||||||
|
(list "TestGetDefaultInterface"
|
||||||
|
"TestGetDefaultInterfaces"
|
||||||
|
"TestGetIfAddrs"
|
||||||
|
"TestGetPrivateIP"
|
||||||
|
"TestGetPrivateIPs"
|
||||||
|
"TestGetPrivateInterfaces"
|
||||||
|
"TestSockAddr_IPAddrs_IPAddrsByNetworkSize/0"
|
||||||
|
"TestSockAddr_Parse")
|
||||||
|
"|"))))
|
||||||
|
(propagated-inputs
|
||||||
|
(list go-github-com-hashicorp-errwrap
|
||||||
|
go-github-com-mitchellh-cli
|
||||||
|
go-github-com-mitchellh-go-wordwrap
|
||||||
|
go-github-com-ryanuber-columnize))
|
||||||
|
(home-page "https://github.com/hashicorp/go-sockaddr")
|
||||||
|
(synopsis "IP Address/UNIX Socket convenience functions for Golang")
|
||||||
|
(description
|
||||||
|
"This package provides an implementation of the UNIX socket family data
|
||||||
|
types and related helper functions.")
|
||||||
|
(license license:mpl2.0)))
|
||||||
|
|
||||||
(define-public go-github-com-hashicorp-yamux
|
(define-public go-github-com-hashicorp-yamux
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-hashicorp-yamux")
|
(name "go-github-com-hashicorp-yamux")
|
||||||
|
|
Loading…
Reference in a new issue