@@ -7289,3 +7289,28 @@ files in the system default web browser.")
application flow in Go client apps.")
(license license:expat)))
+;; Needed by the 'github-cli'
+(define-public go-github-com-cli-safeexec
+ (hidden-package
+ (package
+ (name "go-github-com-cli-safeexec")
+ (version "1.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cli/safeexec.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1q80va3721dyw33lrnv7x3gd66kcnbsm38dv3lk7xqhii2adawmk"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/cli/safeexec"))
+ (home-page "https://github.com/cli/safeexec")
+ (synopsis "Safer alternative to exec.LookPath() on Windows")
+ (description "This library provides a safer alternative to
+@code{exec.LookPath()} on Windows.")
+ (license license:bsd-2))))
+