Subject: [PATCH go-team v2 07/22] gnu: Add go-github-com-shurcool-githubv4.

From: Herman Rimm <[email-masked]>
Date: Tue, 3 Dec 2024 14:14:52 +0100

* gnu/packages/golang-web.scm (go-github-com-shurcool-githubv4): Add
variable.
---
 gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 93865ff1b8..275cb508b1 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -5615,6 +5615,31 @@ (define-public go-github-com-shurcool-httpgzip
 use gzip compression when serving HTTP requests.")
     (license license:expat)))
 
+(define-public go-github-com-shurcool-githubv4
+  (package
+    (name "go-github-com-shurcool-githubv4")
+    (version "0.0.0-20240429030203-be2daab69064")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/shurcooL/githubv4")
+             (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0kkvqwv0waa8hj1jr9b4nvz8rmslqpchidl7gs9bplrkl3fvsxn6"))))
+    (build-system go-build-system)
+    (arguments (list #:import-path "github.com/shurcooL/githubv4"))
+    (inputs (list go-golang-org-x-oauth2))
+    (propagated-inputs (list go-github-com-shurcool-graphql))
+    (home-page "https://github.com/shurcooL/githubv4")
+    (synopsis "Client library for GitHub GraphQL API v4")
+    (description
+     "Package githubv4 is a client library for accessing GitHub
+@code{GraphQL} API v4.")
+    (license license:expat)))
+
 (define-public go-github-com-shurcool-vfsgen
   (package
     (name "go-github-com-shurcool-vfsgen")
-- 
2.45.2