gnu: Add go-gvisor-dev-gvisor.

* gnu/packages/golang-xyz.scm (go-gvisor-dev-gvisor): New variable.

Change-Id: I5144f97d58ff0cc407252c79a24adb802fa22d9f
This commit is contained in:
Sharlatan Hellseher 2025-02-16 21:02:09 +00:00
parent 2978a0b28a
commit 9cb5e26488
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -16988,6 +16988,80 @@ The yaml package supports most of YAML 1.2, but preserves some behavior from
1.1 for backwards compatibility.")
(license license:asl2.0)))
;; XXX: It's a source only variant to include in other packages as input (e.g
;; to build NNCP and remove vendor) dependency for Golang. Full build depends
;; on Bazel <https://bazel.build/>.
(define-public go-gvisor-dev-gvisor
(let ((commit "634ce95eed8d5b8e6b3e2ea30542c34cb30af148")
(revision "0"))
(package
(name "go-gvisor-dev-gvisor")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/google/gvisor")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "1l3si6qlchwgsvaq6lxyvj8iq8n8pqxlayb1hbdf3pynxi52hfkw"))))
(build-system go-build-system)
(arguments
(list
#:tests? #f
#:skip-build? #t
#:import-path "gvisor.dev/gvisor"))
(propagated-inputs
(list ;; go-github-com-bazelbuild-rules-go
go-github-com-burntsushi-toml
;; go-github-com-cenkalti-backoff
go-github-com-cilium-ebpf
go-github-com-containerd-cgroups
go-github-com-containerd-console
;; go-github-com-containerd-containerd
go-github-com-containerd-fifo
;; go-github-com-containerd-go-runc
go-github-com-containerd-typeurl
go-github-com-coreos-go-systemd-v22
go-github-com-godbus-dbus-v5
go-github-com-gofrs-flock
go-github-com-gogo-protobuf
go-github-com-google-btree
go-github-com-google-subcommands
;; go-github-com-kr-pty
go-github-com-mattbaird-jsonpatch
go-github-com-mohae-deepcopy
go-github-com-opencontainers-runtime-spec
go-github-com-sirupsen-logrus
;; go-github-com-syndtr-gocapability
go-github-com-vishvananda-netlink
go-golang-org-x-mod
go-golang-org-x-sync
go-golang-org-x-sys
go-golang-org-x-time
go-golang-org-x-tools
go-google-golang-org-protobuf
;; go-k8s-io-api
;; go-k8s-io-apimachinery
#; go-k8s-io-client-go))
(home-page "https://gvisor.dev/gvisor")
(synopsis "Application Kernel for Containers")
(description
"@code{gVisor} provides a strong layer of isolation between running
applications and the host operating system. It is an application kernel that
implements a @url{https://en.wikipedia.org/wiki/Linux_kernel_interfaces,
Linux-like interface}.
gVisor includes an Open Container Initiative (OCI) runtime called runsc that
makes it easy to work with existing container tooling. The runsc runtime
integrates with Docker and Kubernetes, making it simple to run sandboxed
containers.
This package provides the source only to include in other packages as
dependencies.")
(license license:asl2.0))))
(define-public go-howett-net-plist
(package
(name "go-howett-net-plist")