summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2026-02-06 01:26:13 +0000
committerjgart <jgart@dismail.de>2026-02-06 14:25:51 -0600
commit24faafff38bee251f2ffd2cedd297b4914411d96 (patch)
treee096415ee5ea43762a1c3b2d271984c77305ba09 /gnu/packages
parent4bc5d1785f8880a22b0789690aa6d98e8ef8f022 (diff)
gnu: Add go-github-com-phayes-freeport.
* gnu/packages/golang-xyz.scm (go-github-com-phayes-freeport): New variable. Signed-off-by: jgart <jgart@dismail.de>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/golang-xyz.scm22
1 files changed, 22 insertions, 0 deletions
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")