From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cEduFn3NPWJfBAEAgWs5BA (envelope-from ) for ; Fri, 25 Mar 2022 15:11:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UD+eE33NPWIHDQEA9RJhRA (envelope-from ) for ; Fri, 25 Mar 2022 15:11:09 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E78AD1BA5F for ; Fri, 25 Mar 2022 15:11:08 +0100 (CET) Received: from localhost ([::1]:48178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXkeh-0001iJ-TQ for larch@yhetil.org; Fri, 25 Mar 2022 10:11:07 -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 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648217469; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=3Q/ZxCjevI51kGZb8c4Ro2C6K5rE/aOhirbrNsP8Wmc=; b=QCEvcSVysKGmbD9Ym6pkKP1buT4S88eNuGwjvpMN6n3AoG9LEiXVX0J62xNQp0mnT78CZQ iPNdzNPh1SMI7NzNMG9D6TGIERUpwEbwD/AAc2oyMAYZXs8V06fVTUB+NtxNFZbrfR1O2j TnVEifzum7VPYlmN6s3Yw97BMH/+8MgVPkkXfoyiGnqMTMDGM44BqXQ6jvnxl2K74FZs8D uA3aEAwDOSuTSFROi2rCyDcbjMgEeqyE05wxppNxn+C1gAebWJz0ENgtbF5e8F7KTs9acc UFZq+gryYHUaTdaMX/EhUAKt3knm2XpU78TyrRMRq516EwjiaHXgceQ0qRJqiQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648217469; a=rsa-sha256; cv=none; b=kNK2TtXq+uWjEAlwWBYJpUMnfM746GM3Abm4RxQ48p++qdOuAoI+WwZmD3LQ8E9Z1+61ft a0RfRAV8AUEgG4Pdg7PSU1Ntb8wjqn0ynqt0PT6ODuA//SxlVr4KnDfHOFj/aM63RPfp5K fF9oX1/btp/IIai4m8a7uMflDzrUdZjvfYakMaQtJVPS27c7WZOANVQT5ypFtRL82LzZLJ hCsddLYXsHc96fgP/3tsuzBEttV+1KwgxlngOo8Rn2Xgn5apho79pfQNLT4Iyct3M84JzF L6QMvKFcq/hZJGhQHHrq6e0hwIWT5g6TZ8Va7Quqs/vJ4tcY+HZlRW4sDTPpeQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lnikki.la header.s=fm2 header.b=GalfIP0G; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=OUamNmH3; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lnikki.la (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.02 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lnikki.la header.s=fm2 header.b=GalfIP0G; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=OUamNmH3; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lnikki.la (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E78AD1BA5F X-Spam-Score: 7.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: h8wBoRDtEtY4 * 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") -- 2.34.0