summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Scherer <roman@burningswell.com>2026-01-11 11:36:08 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-04-07 21:01:25 +0100
commit5096a943edc73427b9defd036c959d6f7af388e2 (patch)
tree8d757d03a1fe45922a8d72663fdaec5c22a37410
parent479d1ea923daffc0e10836be4f0f64f6e23966c9 (diff)
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 <jc@jchri.st> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/golang-web.scm26
1 files changed, 26 insertions, 0 deletions
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")