gnu: Add go-github-com-mdlayher-vsock.

* gnu/packages/golang-web.scm (go-github-com-mdlayher-vsock): New variable.

Change-Id: I18f866f051167f849b000c0146657371c53366b2
This commit is contained in:
Sharlatan Hellseher 2024-12-27 20:15:16 +00:00
parent c644c4b2cf
commit 5df773ab85
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -4505,6 +4505,37 @@ (define-public go-github-com-mdlayher-socket
deadline support.")
(license license:expat)))
(define-public go-github-com-mdlayher-vsock
(package
(name "go-github-com-mdlayher-vsock")
(version "1.2.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mdlayher/vsock")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1pnhxz9jz25469gnd5p9a8jl10w3affcjxlvzhlni2c434s3l6kx"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/mdlayher/vsock"))
(native-inputs
(list go-github-com-google-go-cmp))
(propagated-inputs
(list go-github-com-mdlayher-socket
go-golang-org-x-net
go-golang-org-x-sync
go-golang-org-x-sys))
(home-page "https://github.com/mdlayher/vsock")
(synopsis "Access to Linux VM sockets for Golang")
(description
"Package vsock provides access to Linux VM sockets (AF_VSOCK) for
communication between a hypervisor and its virtual machines.")
(license license:expat)))
(define-public go-github-com-mdlayher-wifi
(package
(name "go-github-com-mdlayher-wifi")