From patchwork Thu Apr 1 18:31:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xinglu Chen X-Patchwork-Id: 28294 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D1ED027BC75; Thu, 1 Apr 2021 19:37:33 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 631CB27BC74 for ; Thu, 1 Apr 2021 19:37:33 +0100 (BST) Received: from localhost ([::1]:41516 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lS2CC-0002FV-Hs for patchwork@mira.cbaines.net; Thu, 01 Apr 2021 14:37:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lS26y-00060r-Ng for guix-patches@gnu.org; Thu, 01 Apr 2021 14:32:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47088) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lS26v-0004eZ-2C for guix-patches@gnu.org; Thu, 01 Apr 2021 14:32:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lS26u-0008E3-W7 for guix-patches@gnu.org; Thu, 01 Apr 2021 14:32:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47539] [PATCH v2 22/26] gnu: Add go-github-com-shurcool-githubv4. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 01 Apr 2021 18:32:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47539 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47539@debbugs.gnu.org Received: via spool by 47539-submit@debbugs.gnu.org id=B47539.161730189731345 (code B ref 47539); Thu, 01 Apr 2021 18:32:04 +0000 Received: (at 47539) by debbugs.gnu.org; 1 Apr 2021 18:31:37 +0000 Received: from localhost ([127.0.0.1]:58578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lS26S-00089P-Up for submit@debbugs.gnu.org; Thu, 01 Apr 2021 14:31:37 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:39140 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lS26C-00086r-2N for 47539@debbugs.gnu.org; Thu, 01 Apr 2021 14:31:29 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1617301874; bh=HrLUb6p/PuxUK7HnaBftvaibsmFC+S9LwOIP+hBP/8U=; h=From:To:Subject:In-Reply-To:References:Date; b=XxspbZggCW0WxX/reC1LKesJF5zANR7ENjxeWFFXTzFyG3OxsHrXQbYhgCP37UHz0 EMyZI+lKlmN607J+h0yV3cLVXjYJpYUJLQeYaeQlNvT7wu9GlMaR+s22MHj7hoJnNM saTXSo15wp8BeeH+QWdHIN9HqRzh6CFPmxoyD0RM= In-Reply-To: References: Message-Id: <33a74c1302b5cd68ed0324b4cfb383b915a0eeee.1617301221.git.public@yoctocell.xyz> Date: Thu, 01 Apr 2021 20:31:14 +0200 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-shurcool-githubv4): New variable. --- gnu/packages/golang.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 1e6e5e7aa5..1ee6728a4f 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -7630,3 +7630,35 @@ character or string.") to @url{https://unicode.org/reports/tr29/,Unicode Standard Annex #29}.") (license license:expat))) +(define-public go-github-com-shurcool-githubv4 + (package + (name "go-github-com-shurcool-githubv4") + (version "0.0.0-20201206200315-234843c633fa") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/shurcooL/githubv4.git") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1jmmjv95vcm9vl5zpvwv77pq3mhf2j2vxc7pj75yfniymp2dh5mi")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/shurcooL/githubv4")) + (native-inputs + `(("go-github-com-shurcooL-graphql" ,go-github-com-shurcool-graphql) + ("go-golang-org-x-oauth2" ,go-golang-org-x-oauth2))) + (home-page "https://github.com/shurcooL/githubv4") + (synopsis "Client library for accessing the GitHub GraphQL API v4") + (description "This package is a client library for accessing the GitHub +GraphQL API v4. It focuses on the following things: + +@itemize +@item Friendly, simple and powerful API. +@item Correctness, high performance and efficiency. +@item Support for all of GitHub GraphQL API v4 via code generation from schema. +@end itemize") + (license license:expat))) +