diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-02-18 13:36:12 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-05-26 16:50:12 +0100 |
commit | c7942bea4955525c94efc05bb7f9905a2fb3af45 (patch) | |
tree | 5f54b7080aa9142dcddfab683853a65325096608 | |
parent | d2caf5c48be3b61ec42f869fbd31ce50a299283e (diff) |
gnu: Add go-github-com-anacrolix-envpprof.
* gnu/packages/golang-web.scm (go-github-com-anacrolix-envpprof): New variable.
Change-Id: I524a3dc0fa3b472b2bef1648e9e43cbde767660d
-rw-r--r-- | gnu/packages/golang-web.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 5cc1202a40..6bbba5400b 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -419,6 +419,35 @@ required dependencies. The HTTP response contains the aggregated health result and details about the health status of each component.") (license license:expat))) +(define-public go-github-com-anacrolix-envpprof + (package + (name "go-github-com-anacrolix-envpprof") + (version "1.4.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/anacrolix/envpprof") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "121kk1fq1919f0gcnmaxsk6n8flspxa00pyfwl09dysyivwbpk67")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/anacrolix/envpprof")) + (propagated-inputs (list go-github-com-anacrolix-log)) + (home-page "https://github.com/anacrolix/envpprof") + (synopsis "Control HTTP mux via environment variable") + (description + "This package implements a functionality to configure Go's pprof features +and default HTTP mux using the environment variable @code{GOPPROF}. +@code{envpprof} has an @code{init} function that will run at process +initialization that checks the value of the @code{GOPPROF} environment +variable. The variable can contain a comma-separated list of values, for +example @code{GOPPROF=http,block}.") + (license license:expat))) + (define-public go-github-com-arceliar-ironwood (package (name "go-github-com-arceliar-ironwood") |