From patchwork Fri Mar 25 13:31:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Leo_Nikkil=C3=A4?= X-Patchwork-Id: 38080 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 C6C6927BBEA; Fri, 25 Mar 2022 14:13:36 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 0D1CF27BBE9 for ; Fri, 25 Mar 2022 14:13:36 +0000 (GMT) Received: from localhost ([::1]:55278 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXkh5-0006PI-4Q for patchwork@mira.cbaines.net; Fri, 25 Mar 2022 10:13:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXkdx-00011Q-CL for guix-patches@gnu.org; Fri, 25 Mar 2022 10:10:21 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58191) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXkdx-0004gS-1C for guix-patches@gnu.org; Fri, 25 Mar 2022 10:10:21 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nXkdw-0003Ci-Rt for guix-patches@gnu.org; Fri, 25 Mar 2022 10:10:20 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54560] [PATCH 13/47] gnu: Add go-github-com-mailru-easyjson. Resent-From: Leo =?utf-8?q?Nikkil=C3=A4?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Mar 2022 14:10:20 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54560 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54560@debbugs.gnu.org Cc: Leo =?utf-8?q?Nikkil=C3=A4?= Received: via spool by 54560-submit@debbugs.gnu.org id=B54560.164821739211897 (code B ref 54560); Fri, 25 Mar 2022 14:10:20 +0000 Received: (at 54560) by debbugs.gnu.org; 25 Mar 2022 14:09:52 +0000 Received: from localhost ([127.0.0.1]:52012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXkdT-00035j-JB for submit@debbugs.gnu.org; Fri, 25 Mar 2022 10:09:51 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:49941) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXk4J-0001fw-0W for 54560@debbugs.gnu.org; Fri, 25 Mar 2022 09:33:31 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 47B9032009F8; Fri, 25 Mar 2022 09:33:25 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 25 Mar 2022 09:33:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lnikki.la; h=cc :cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; bh=U5g9c7ypJERcg7GRRZfPua6QsK+06P kUQaosH7tndGo=; b=unQVs+OotoQK0l7JxhaVq33h7u9uumsMzLVk8o183FwbBp 7isbg+kqQyJcZGD2AbuUvswX4/DKA9wMT2WvCMvWHwFTCSyaFUFjrs2fKlmSTMcW i9WTR6KuyWO4j/uffYZ5LkTIya2tjpTx5r7kTTELQuPVU/dcSqWtUCzQqOxu601n 8uKPaHaD57wAjdw1m4l7f49TzNwgnpJCLJQGT8Sga0FNtqess7903CJG89v0bj0X 6yh2aIiOxa8OGfFKdWEREZvtGUadvUy9vBNhnRAJ63bu6Ck6EblKgbjVmh83VtKJ ZHj/oqXW0OMHk3nP8EEaW7BJ7UhEbCAu4ou/8gfg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=U5g9c7 ypJERcg7GRRZfPua6QsK+06PkUQaosH7tndGo=; b=fB8L8CTzDI5rvYcoTfImfi LH79RlmIT4WLlH2+DppVxdUQvQMnKRWTiD6tLeRUlgsQCk0MwVy1+ps9ghbG7gX1 kGI/01GJALD91udlsPzfn4QUD35n4QaH2DhtUtg3+QzzrUci1pX8Tfr3LVX3cp0m np/xa0zFyMutUg1zcYKPbpwindcqwYWb2quFiSpbbKEB9AC5hd3pxNLWVs98OLu9 4uWX5UkxzWRWLHOLFZWK2+lo1r3mAWkaZrSV9F3cSYE4qLh5GsICPqVC5sy+EPZg /FA3LMkatWUqEF0MP26HdpivUmHSvyuZPJzvy9RzM12w54EqfIC5Jr6uYtKptXCQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudehuddghedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredtjeenucfhrhhomhepnfgvohcupfhikhhkihhlmocuoehhvghllhhosehlnhhikhhk ihdrlhgrqeenucggtffrrghtthgvrhhnpeegfeeggedvhfffiedtueegveetffefudekje euieetgffgtdfgfeeludeiteehfeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecu vehluhhsthgvrhfuihiivgepgeenucfrrghrrghmpehmrghilhhfrhhomhephhgvlhhloh eslhhnihhkkhhirdhlrg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 25 Mar 2022 09:33:24 -0400 (EDT) From: Leo =?utf-8?q?Nikkil=C3=A4?= Date: Fri, 25 Mar 2022 15:31:37 +0200 Message-Id: <20220325133211.5128-13-hello@lnikki.la> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220325133211.5128-1-hello@lnikki.la> References: <20220325133211.5128-1-hello@lnikki.la> MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 25 Mar 2022 10:09:18 -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: , 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-mailru-easyjson): New variable. --- gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index cf4c85b7cc..15a2f4310b 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9999,6 +9999,34 @@ (define-public go-github-com-julienschmidt-httprouter (home-page "https://github.com/julienschmidt/httprouter") (license license:bsd-3))) +(define-public go-github-com-mailru-easyjson + (package + (name "go-github-com-mailru-easyjson") + (version "0.7.7") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mailru/easyjson") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0clifkvvy8f45rv3cdyv58dglzagyvfcqb63wl6rij30c5j2pzc1")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/mailru/easyjson")) + (propagated-inputs (list go-github-com-josharian-intern)) + (synopsis "Fast JSON serializer for golang") + (description + "Package @code{easyjson} provides a fast and easy way to +marshal/unmarshal Go structs to/from JSON without the use of reflection. + +In performance tests, @code{easyjson} outperforms the standard +@code{encoding/json} package by a factor of 4-5x, and other JSON +encoding packages by a factor of 2-3x.") + (home-page "https://github.com/mailru/easyjson") + (license license:expat))) + (define-public go-google-golang-org-protobuf (package (name "go-google-golang-org-protobuf")