mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
9811bb05f1
commit
00185276f9
1 changed files with 31 additions and 0 deletions
|
@ -5944,6 +5944,37 @@ types.")
|
||||||
sockets (AF_NETLINK).")
|
sockets (AF_NETLINK).")
|
||||||
(license license:expat)))
|
(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
|
(define-public go-github-com-mdlayher-socket
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-mdlayher-socket")
|
(name "go-github-com-mdlayher-socket")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue