From patchwork Sat Aug 5 07:01:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fries X-Patchwork-Id: 52504 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 597AE27BBE9; Sat, 5 Aug 2023 09:53:59 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT, MAILING_LIST_MULTI,SPF_HELO_PASS,TVD_SPACE_RATIO,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9160427BBEA for ; Sat, 5 Aug 2023 09:53:57 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSD2D-0003TJ-3K; Sat, 05 Aug 2023 04:53:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSD2C-0003SY-0B for guix-patches@gnu.org; Sat, 05 Aug 2023 04:53:16 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qSD2B-0007Mq-Oi for guix-patches@gnu.org; Sat, 05 Aug 2023 04:53:15 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qSD2B-0007Ni-L1 for guix-patches@gnu.org; Sat, 05 Aug 2023 04:53:15 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65085] [PATCH 12/13] gnu: Add go-github-com-json-iterator-go Resent-From: Fries Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Aug 2023 08:53:15 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65085 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65085@debbugs.gnu.org Cc: Fries X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169122557728091 (code B ref -1); Sat, 05 Aug 2023 08:53:15 +0000 Received: (at submit) by debbugs.gnu.org; 5 Aug 2023 08:52:57 +0000 Received: from localhost ([127.0.0.1]:55488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSD1s-0007Iv-OB for submit@debbugs.gnu.org; Sat, 05 Aug 2023 04:52:57 -0400 Received: from lists.gnu.org ([2001:470:142::17]:59284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSBI7-0001vf-Jq for submit@debbugs.gnu.org; Sat, 05 Aug 2023 03:01:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSBHr-0007yV-Rs for guix-patches@gnu.org; Sat, 05 Aug 2023 03:01:24 -0400 Received: from mail-40141.protonmail.ch ([185.70.40.141]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSBHq-0004za-41 for guix-patches@gnu.org; Sat, 05 Aug 2023 03:01:19 -0400 Date: Sat, 05 Aug 2023 07:01:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1691218876; x=1691478076; bh=EtGO1qP/1+PfS/xRkO+/zq9xoByaR6jU7V5BZreV56c=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=Dk4ADW/ixCemkRAyctcAoQXDM3bgfGMcNkNzogITMQ4TN4O+yaDJ/jeKSsM+o4XCK gMJ8AxBaArs6nVapErxjLiSFzLDNuv6e44fX9aqL8CGRgT9lYxB1qjI416mwP98PXr 5Ktcx1IX/mTMZBJ2uzrXATZoEWgsu15OR9XtnyBm6nXgHJEXN75NjAaCXSQhBiYCFL 3xjRlwrqJ7un5ZvkJAtrzymGv1pNOKuMvFkyZxkuweFVfmXZe67mzzqjJahgtb4Nj2 cNIIQr8ptjF6wfUri+kqJ2ifovvRMqUEzvhWvwuKu+PuDDIvfyks5Ay5PongEQNLtx KfsqSuPqolA1g== Message-ID: <70ee9566b6562ea36a20f1ae2d6b79e3349f6e34.1691218710.git.fries1234@protonmail.com> In-Reply-To: References: Feedback-ID: 42759890:user:proton MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.141; envelope-from=fries1234@protonmail.com; helo=mail-40141.protonmail.ch X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TVD_SPACE_RATIO=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 05 Aug 2023 04:52:40 -0400 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: , Reply-to: Fries X-ACL-Warn: , Fries via Guix-patches X-Patchwork-Original-From: Fries via Guix-patches via From: Fries Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-json-iterator-go): Add variable. --- gnu/packages/golang.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 9b38ed4daf..b08e7060fc 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4386,6 +4386,39 @@ (define-public go-github-com-goccy-go-json "Fast JSON encoder/decoder compatible with encoding/json for Go.") (license license:expat))) +(define-public go-github-com-json-iterator-go + (package + (name "go-github-com-json-iterator-go") + (version "1.1.12") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/json-iterator/go") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1c8f0hxm18wivx31bs615x3vxs2j3ba0v6vxchsjhldc8kl311bz")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/json-iterator/go")) + (propagated-inputs + `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify) + ("go-github-com-modern-go-reflect2" ,go-github-com-modern-go-reflect2) + ("go-github-com-modern-go-concurrent" ,go-github-com-modern-go-concurrent) + ("go-github-com-google-gofuzz" ,go-github-com-google-gofuzz) + ("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew))) + (home-page "https://github.com/json-iterator/go") + (synopsis "High-performance, 100% compatible drop-in replacement of encoding/json") + (description + "Package jsoniter implements encoding and decoding of JSON as defined in +@uref{https://rfc-editor.org/rfc/rfc4627.html,RFC 4627} and provides interfaces +with identical syntax of standard lib encoding/json. Converting from +encoding/json to jsoniter is no more than replacing the package with jsoniter +and variable type declarations (if any). jsoniter interfaces gives 100% +compatibility with code using standard lib.") + (license license:expat))) + (define-public go-github-com-getsentry-raven-go (let ((commit "5c24d5110e0e198d9ae16f1f3465366085001d92") (revision "0"))