@@ -7262,3 +7262,29 @@ indicator to any terminal application. ")
files in the system default web browser.")
(license license:bsd-2)))
+(define-public go-github-com-cli-oauth
+ (package
+ (name "go-github-com-cli-oauth")
+ (version "0.8.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cli/oauth.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1b96cl53qc40xsgpxpy9qkrib4a4g02a4sq442qp8749qab5ljhs"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/cli/oauth"))
+ (native-inputs
+ `(("go-github-com-cli-browser"
+ ,go-github-com-cli-browser)))
+ (home-page "https://github.com/cli/oauth")
+ (synopsis "Perform OAuth Device flow and Web application flow in Go")
+ (description "This is a library for performing OAuth Device flow and Web
+application flow in Go client apps.")
+ (license license:expat)))
+