Subject: [bug#47539] [PATCH v2 08/26] gnu: Add go-github-com-cli-browser.

From: Xinglu Chen <[email-masked]>
Date: Thu, 01 Apr 2021 20:31:34 +0200

* gnu/packages/golang.scm (go-github-com-cli-browser): New variable.
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 11312227ff..1cdc04bde6 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7238,3 +7238,28 @@ indent.")
 indicator to any terminal application. ")
     (license license:asl2.0)))
 
+(define-public go-github-com-cli-browser
+  (package
+    (name "go-github-com-cli-browser")
+    (version "1.1.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/cli/browser.git")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+          (base32
+            "13z27cc0a184bhprspwclzbvrzsrfd5qyk5r2djfx5nm85igxr0n"))))
+    (build-system go-build-system)
+    (arguments
+      '(#:import-path "github.com/cli/browser"))
+    (native-inputs
+      `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
+    (home-page "https://github.com/cli/browser")
+    (synopsis "Helpers to open URLs, or files in the default web browser")
+    (description "This library provides helpers to open URLs, readers, or
+files in the system default web browser.")
+    (license license:bsd-2)))
+
-- 
2.31.1