From 5096a943edc73427b9defd036c959d6f7af388e2 Mon Sep 17 00:00:00 2001 From: Roman Scherer Date: Sun, 11 Jan 2026 11:36:08 +0100 Subject: gnu: Add go-github-com-cli-oauth. * gnu/packages/golang-web.scm (go-github-com-cli-oauth): New variable. Relates-to: https://codeberg.org/guix/guix/pulls/5190 Change-Id: I26f9242c4607902ca554fd05acbc29cab329d9ec Reviewed-by: Johannes Christ Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 8ed763d4492..a46903dc893 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -3613,6 +3613,32 @@ API. See the full Circonus API Documentation at browser window.") (license license:bsd-2))) +(define-public go-github-com-cli-oauth + (package + (name "go-github-com-cli-oauth") + (version "1.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cli/oauth") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0hqncidg1h0q5w0x4cgnyvxwvzh2h9lb921gzrcbjdhv16vx2vrx")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/cli/oauth")) + (propagated-inputs + (list go-github-com-cli-browser)) + (home-page "https://github.com/cli/oauth") + (synopsis "OAuth library for Go applications") + (description + "Package oauth is a library for Go client applications that need to perform +OAuth authorization against a server, typically @code{GitHub.com}.") + (license license:expat))) + (define-public go-github-com-cloudflare-backoff (package (name "go-github-com-cloudflare-backoff") -- cgit v1.3