guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 24faafff38bee251f2ffd2cedd297b4914411d96
Author: Arun Isaac <[email protected]>
AuthorDate: Fri Feb 6 01:26:13 2026 +0000
gnu: Add go-github-com-phayes-freeport.
* gnu/packages/golang-xyz.scm (go-github-com-phayes-freeport): New variable.
Signed-off-by: jgart <[email protected]>
---
gnu/packages/golang-xyz.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 59fca4eb6a..0880bb0996 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -19500,6 +19500,28 @@ editor with history, inspired by
@url{https://github.com/antirez/linenoise/,
linenoise}. Xterm as well as WIN32 terminal codes are supported.")
(license license:expat)))
+(define-public go-github-com-phayes-freeport
+ (package
+ (name "go-github-com-phayes-freeport")
+ (version "1.0.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/phayes/freeport")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1gwaan8fwmc5lfx4dzymq0jd6z2l1frg83jkmjpm4kw8ay4vr11q"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/phayes/freeport"))
+ (home-page "https://github.com/phayes/freeport")
+ (synopsis "Find a free and open TCP port")
+ (description "This package provides a Go library that finds a free open
+TCP port that is ready to use.")
+ (license license:bsd-3)))
+
(define-public go-github-com-phayes-permbits
(package
(name "go-github-com-phayes-permbits")