Subject: [bug#47539] [PATCH 26/28] gnu: Add go-github-com-shurcool-graphql.

From: Xinglu Chen <[email-masked]>
Date: Thu, 01 Apr 2021 10:02:12 +0200

* gnu/packages/golang.scm (go-github-com-shurcool-graphql): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 5217bc383d..d6e5494c79 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7715,3 +7715,27 @@ library to parse and generate YAML data quickly and reliably.")
     (license (list license:expat
                    license:asl2.0))))
 
+(define-public go-github-com-shurcool-graphql
+  (package
+    (name "go-github-com-shurcool-graphql")
+    (version "0.0.0-20200928012149-18c5c3165e3a")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/shurcooL/graphql.git")
+             (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0psxc2q3qsh1lfag11m2gz54fzzvlss5znyf34aars94igsjywzx"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/shurcooL/graphql"))
+    (native-inputs
+     `(("go-golang-org-x-net" ,go-golang-org-x-net)))
+    (home-page "https://github.com/shurcooL/graphql")
+    (synopsis "GraphQL client implementation")
+    (description "This package provides a GraphQL client implementation.")
+    (license license:expat)))
+
-- 
2.31.1