From patchwork Fri Mar 25 13:31:36 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: 38059 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 62A8B27BBEA; Fri, 25 Mar 2022 14:11:08 +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 9BD7227BBE9 for ; Fri, 25 Mar 2022 14:11:07 +0000 (GMT) Received: from localhost ([::1]:48178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXkeg-0001iJ-Ob for patchwork@mira.cbaines.net; Fri, 25 Mar 2022 10:11:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXkds-0000oc-Jk for guix-patches@gnu.org; Fri, 25 Mar 2022 10:10:16 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58180) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXkds-0004ct-9o for guix-patches@gnu.org; Fri, 25 Mar 2022 10:10:16 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nXkds-0003BP-3g for guix-patches@gnu.org; Fri, 25 Mar 2022 10:10:16 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54560] [PATCH 12/47] gnu: Add go-github-com-julienschmidt-httprouter. 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:15 +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.164821736611793 (code B ref 54560); Fri, 25 Mar 2022 14:10:15 +0000 Received: (at 54560) by debbugs.gnu.org; 25 Mar 2022 14:09:26 +0000 Received: from localhost ([127.0.0.1]:51990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXkd3-000343-J6 for submit@debbugs.gnu.org; Fri, 25 Mar 2022 10:09:25 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:57275) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXk4H-0001fM-Co for 54560@debbugs.gnu.org; Fri, 25 Mar 2022 09:33:29 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id C867032008FD; Fri, 25 Mar 2022 09:33:23 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 25 Mar 2022 09:33:23 -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=3Q/ZxCjevI51kGZb8c4Ro2C6K5rE/a OhirbrNsP8Wmc=; b=GalfIP0G3W9Q3vPAzwsMbuNs5qYsV//TMFNng8dPX3QvSc BJ41V8T6xZMs4xt5rUpCTDD44PknKfJvy4+lt5L4ziQIBdgYL+hpv5t/4q7CZOkH drU6XVf6xB6QrFL84K+RE+1qNywa9S+UegsgxWI1dbkcDvX03fjIhSiPRntSS9aF kVewTyqkSEnucvCRLqKppZwtdLYPLiSL39ot9AGeikvMHwbTea8iFb6JvL4AyQAr bycoZWEis2oEJEyjDpNgw1x9pBBsfFkNPQ57hv6VVW9MypqeopOecTrxJsoCssAG k7mQRrs6U/Xr0F9EeD3zaovu+eZ2zxyKkC+I2tRQ== 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=3Q/ZxC jevI51kGZb8c4Ro2C6K5rE/aOhirbrNsP8Wmc=; b=OUamNmH3+/T0o9JcZta7GP LVVyrSgTQuX9wj52b8Jh14rz/WM46cxPMnNuL5PoAhDxPcrTvFkQY9M9kGH7807B Mg/xVtXkiVRzyf/mWhj4tUc5i+i2faGTDottBwaDnNajGOX9KoKe7/QJYBw0xpoH zXJ5UCNTuB7nF9wq8wmv86HwJowB0Cap4YMVPWdgH84sZa5Czg6LbCKQF8L2czCr OERxJlquuDX4c7QBLqCbFu5kdn8i0T/UT59YRqjqvfokTq2Q1+aMcrROAMEWzfhE E2Xf3/qu5kInG564MTT1do6w7gLyNcz/cQebncooaPs09Xfvk/HaHcF0e4hkkF9g == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudehuddghedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredtjeenucfhrhhomhepnfgvohcupfhikhhkihhlmocuoehhvghllhhosehlnhhikhhk ihdrlhgrqeenucggtffrrghtthgvrhhnpeefleffffffhfeuledtvdeiveevhefgudfhve eugeejtdejudeiueduffehleekveenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhh thhtphhrvghquhgvshhtrhhouhhtvghrrghlshhotggrlhhlvggumhhulhhtihhplhgvgi gvrhhorhhjuhhsthhmuhigfhhorhhshhhorhhtfhhorhhgohdrihhnnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephhgvlhhloheslhhnihhkkh hirdhlrg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 25 Mar 2022 09:33:22 -0400 (EDT) From: Leo =?utf-8?q?Nikkil=C3=A4?= Date: Fri, 25 Mar 2022 15:31:36 +0200 Message-Id: <20220325133211.5128-12-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-julienschmidt-httprouter): 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 a9286f8b8a..cf4c85b7cc 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9967,6 +9967,38 @@ (define-public go-github-com-josharian-intern (home-page "https://github.com/josharian/intern") (license license:expat))) +(define-public go-github-com-julienschmidt-httprouter + (package + (name "go-github-com-julienschmidt-httprouter") + (version "1.3.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/julienschmidt/httprouter") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1a6sy0ysqknsjssjh7qg1dqn21xmj9a36c57nrk7srfmab4ffmk1")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/julienschmidt/httprouter")) + (synopsis "High performance HTTP request router") + (description + "HttpRouter is a lightweight high performance HTTP request router +(also called multiplexer or just mux for short) for Go. + +In contrast to the default mux of Go's @code{net/http} package, this +router supports variables in the routing pattern and matches against the +request method. It also scales better. + +The router is optimized for high performance and a small memory +footprint. It scales well even with very long paths and a large number +of routes. A compressing dynamic trie (radix tree) structure is used for +efficient matching.") + (home-page "https://github.com/julienschmidt/httprouter") + (license license:bsd-3))) + (define-public go-google-golang-org-protobuf (package (name "go-google-golang-org-protobuf")