aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-09-09 20:17:31 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-09-09 21:05:20 +0100
commitf415ce5a9678e5475ccabfdfe16019d0b563b8b1 (patch)
tree82df4c7c01263df983f302ab1703cd54ea7f5837
parent7287f05246a03cffdae84fde2dcb057ab8a98f9a (diff)
downloadguix-f415ce5a9678e5475ccabfdfe16019d0b563b8b1.tar.gz
guix-f415ce5a9678e5475ccabfdfe16019d0b563b8b1.zip
gnu: Add go-github-com-raulk-go-watchdog.
* gnu/packages/golang-xyz.scm (go-github-com-raulk-go-watchdog): New variable. Change-Id: I90a52e2d1f378ee5ddf4e2e902f49e863231c6ee
-rw-r--r--gnu/packages/golang-xyz.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index a276617158..c2059b7906 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -5789,6 +5789,38 @@ without configuration, but if desired, everything can be customized down to the
smallest detail.")
(license license:expat)))
+(define-public go-github-com-raulk-go-watchdog
+ (package
+ (name "go-github-com-raulk-go-watchdog")
+ (version "1.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/raulk/go-watchdog")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1mpvphqihxmcnz66a3yisk18pm2yxpcg81pnkd80ax80fyvzwl0z"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/raulk/go-watchdog"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (propagated-inputs
+ (list go-github-com-benbjohnson-clock
+ go-github-com-containerd-cgroups
+ go-github-com-elastic-gosigar
+ go-github-com-opencontainers-runtime-spec))
+ (home-page "https://github.com/raulk/go-watchdog")
+ (synopsis "Go memory watchdog")
+ (description
+ "Package watchdog runs a singleton memory watchdog in the process, which
+watches memory utilization and forces Go GC in accordance with a user-defined
+policy.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public go-github-com-rcrowley-go-metrics
(let ((commit "cac0b30c2563378d434b5af411844adff8e32960")
(revision "2"))