mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-15 03:20:43 +02: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
e1caa22c45
commit
015b5ad214
1 changed files with 46 additions and 0 deletions
|
@ -3264,6 +3264,52 @@ standard @code{net/http} client library and exposes nearly the same public
|
|||
API.")
|
||||
(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
|
||||
(package
|
||||
(name "go-github-com-hashicorp-yamux")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue