summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-11-09 22:05:02 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-22 15:17:58 +0000
commitd5ed53ceede59fdaf7a7a1222a800a7cb363ab3d (patch)
treeaf63dff97c531344297e8d31267160880e78879a
parent744e710f3384a7b4866ddc9d6f7ed1dad5bfb848 (diff)
gnu: Add go-github-com-containers-winquit.
* gnu/packages/golang-xyz.scm (go-github-com-containers-winquit): New variable. Change-Id: Ia27a6acfcd931f77425901d75befdc281a09cf01
-rw-r--r--gnu/packages/golang-xyz.scm37
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 8eb2b154c7f..062cadb595a 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -4959,6 +4959,43 @@ specifying container platforms.")
repositories.")
(license license:asl2.0)))
+(define-public go-github-com-containers-winquit
+ ;; As it's seen in description, it's a Windows specific package but
+ ;; gvisor-tap-vsock can't be build if it's absent.
+ (hidden-package
+ (package
+ (name "go-github-com-containers-winquit")
+ (version "1.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/containers/winquit")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "00kvrjq0jcjvhpdxgcz99r9azm3n0ds43smwc0ss1rxx7jszpjpv"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:skip-build? #t
+ #:import-path "github.com/containers/winquit"))
+ (native-inputs
+ (list go-github-com-onsi-ginkgo-v2
+ go-github-com-onsi-gomega))
+ (propagated-inputs
+ (list go-github-com-sirupsen-logrus))
+ (home-page "https://github.com/containers/winquit")
+ (synopsis "Graceful shutdown of Windows applications support for Golang")
+ (description
+ "winquit is a golang module that supports graceful shutdown of Windows
+applications through the sending and receiving of Windows quit events on Win32
+message queues. This allows golang applications to implement behavior
+comparable to SIGTERM signal handling on UNIX derived systems. Additionally,
+it supports the graceful shutdown mechanism employed by Windows system tools,
+such as @code{taskkill.exe}.")
+ (license license:asl2.0))))
+
(define-public go-github-com-coocood-freecache
(package
(name "go-github-com-coocood-freecache")