Subject: [bug#66603] [PATCH 06/29] gnu: Add go-github-com-chromedp-chromedp.

From: Wilko Meyer <[email-masked]>
Date: Wed, 18 Oct 2023 11:38:04 +0200

* gnu/packages/golang.scm (go-github-com-chromedp-chromedp): New variable.

missing space for chromedp
---
 gnu/packages/golang.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 178599c7fc..05cea0bcfa 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1819,6 +1819,36 @@ (define-public go-github-com-orisano-pixelmatch
     (description
      "@@url{https://github.com/mapbox/pixelmatch,mapbox/pixelmatch} ports for go.")
     (license license:expat)))
+
+(define-public go-github-com-chromedp-chromedp
+  (package
+    (name "go-github-com-chromedp-chromedp")
+    (version "0.9.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/chromedp/chromedp")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0k4ingm0ydgq1cm0nrvi7plfrnmxa7h3qp01rw4912k6bkxv36rf"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/chromedp/chromedp"
+       #:tests? #f))
+    (propagated-inputs `(("go-github-com-orisano-pixelmatch" ,go-github-com-orisano-pixelmatch)
+                         ("go-github-com-mailru-easyjson" ,go-github-com-mailru-easyjson)
+                         ("go-github-com-ledongthuc-pdf" ,go-github-com-ledongthuc-pdf)
+                         ("go-github-com-gobwas-ws" ,go-github-com-gobwas-ws)
+                         ("go-github-com-chromedp-cdproto" ,go-github-com-chromedp-cdproto)))
+    (home-page "https://github.com/chromedp/chromedp")
+    (synopsis "About chromedp")
+    (description
+     "Package chromedp is a high level Chrome @code{DevTools} Protocol client that
+simplifies driving browsers for scraping, unit testing, or profiling web pages
+using the CDP.")
+    (license license:expat)))
 (define-public go-github-com-pkg-xattr
   (package
     (name "go-github-com-pkg-xattr")
-- 
2.41.0