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

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

Change-Id: I09a800f03c20a23efd4eca27cdac939d558448e6
This commit is contained in:
Sharlatan Hellseher 2025-07-07 13:14:48 +01:00
parent 9811bb05f1
commit 00185276f9
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -5944,6 +5944,37 @@ types.")
sockets (AF_NETLINK).")
(license license:expat)))
(define-public go-github-com-mdlayher-packet
(package
(name "go-github-com-mdlayher-packet")
(version "1.1.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mdlayher/packet")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "17jms60j1xygsn5z61r2kz8yywsihf0xjzlhq3v5cpqf08mljwsn"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/mdlayher/packet"))
(native-inputs
(list go-github-com-google-go-cmp))
(propagated-inputs
(list go-github-com-josharian-native
go-github-com-mdlayher-socket
go-golang-org-x-net
go-golang-org-x-sys))
(home-page "https://github.com/mdlayher/packet")
(synopsis "Access to Linux packet sockets from Golang")
(description
"Package packet provides access to Linux packet sockets (@url{AF_PACKET,
https://www.man7.org/linux/man-pages/man7/packet.7.html}).")
(license license:expat)))
(define-public go-github-com-mdlayher-socket
(package
(name "go-github-com-mdlayher-socket")