From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eDobIzBVxV9ccAAA0tVLHw (envelope-from ) for ; Mon, 30 Nov 2020 20:25:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2EXwHjBVxV+JHQAA1q6Kng (envelope-from ) for ; Mon, 30 Nov 2020 20:25:20 +0000 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 284A894011C for ; Mon, 30 Nov 2020 20:25:20 +0000 (UTC) Received: from localhost ([::1]:34824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjpjb-0006Jb-1I for larch@yhetil.org; Mon, 30 Nov 2020 15:25:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjpjK-00062I-Vj for guix-patches@gnu.org; Mon, 30 Nov 2020 15:25:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45251) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjpjK-0000to-Oc for guix-patches@gnu.org; Mon, 30 Nov 2020 15:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjpjK-0001xM-LV for guix-patches@gnu.org; Mon, 30 Nov 2020 15:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44969] [PATCH 2/7] gnu: Added go-github-com-felixge-httpsnoop. Resent-From: Martin Becze Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 30 Nov 2020 20:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44969 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44969@debbugs.gnu.org Cc: Martin Becze Received: via spool by 44969-submit@debbugs.gnu.org id=B44969.16067678797420 (code B ref 44969); Mon, 30 Nov 2020 20:25:02 +0000 Received: (at 44969) by debbugs.gnu.org; 30 Nov 2020 20:24:39 +0000 Received: from localhost ([127.0.0.1]:56782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjpiw-0001vU-Qy for submit@debbugs.gnu.org; Mon, 30 Nov 2020 15:24:39 -0500 Received: from mx1.riseup.net ([198.252.153.129]:42218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjpiu-0001v8-Ig for 44969@debbugs.gnu.org; Mon, 30 Nov 2020 15:24:37 -0500 Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4ClGtC2WXPzFfHD for <44969@debbugs.gnu.org>; Mon, 30 Nov 2020 12:24:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1606767875; bh=PW9ZCstizdo9DE7o9wNMmR6I2cxnozYIiPlBHVGEuko=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NhlrYcsi/HIOQDu+bgSiKvraAacLQ/cdYHtWYMyOvGpfUkKmx0QWbqpy6f9R1lrIz AkokciRHNjoy9B/gZs3fHJP9V7outHgFuUKwbqDwal3T9SxqJD1tZj6VtNhvr7x7yn yQgrLozim+sb0Ps964oSQC//giQfHxuPAVHYvx1A= X-Riseup-User-ID: 82D932715CDD4715430E8D15933BE4540B9B596CE916BE42A85ADDA53308EA73 Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 4ClGtB2vdrzJp5b; Mon, 30 Nov 2020 12:24:34 -0800 (PST) From: Martin Becze Date: Mon, 30 Nov 2020 14:24:03 -0600 Message-Id: <20201130202408.27437-2-mjbecze@riseup.net> In-Reply-To: <20201130202408.27437-1-mjbecze@riseup.net> References: <20201130201757.27248-1-mjbecze@riseup.net> <20201130202408.27437-1-mjbecze@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-Spam-Score: -0.18 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=riseup.net header.s=squak header.b=NhlrYcsi; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 284A894011C X-Spam-Score: -0.18 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: SSomnrPvgWER * gnu/packages/golang.scm (go-github-com-felixge-httpsnoop): New variable. --- gnu/packages/golang.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index fed32d65ec..e72d7026de 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -22,6 +22,7 @@ ;;; Copyright © 2020 Ryan Prior ;;; Copyright © 2020 Marius Bakke ;;; Copyright © 2020 raingloom +;;; Copyright © 2020 Martin Becze ;;; ;;; This file is part of GNU Guix. ;;; @@ -6039,3 +6040,27 @@ JSON data to the machine.") systems can import this package to enable running programs as services without modifying them.") (license license:zlib))) + +(define-public go-github-com-felixge-httpsnoop + (package + (name "go-github-com-felixge-httpsnoop") + (version "1.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/felixge/httpsnoop") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ncd8lar5zxiwjhsp315s4hsl4bhnm271h49jhyxc66r5yffgmac")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/felixge/httpsnoop")) + (home-page "https://github.com/felixge/httpsnoop/") + (synopsis "Capture http related metric") + (description "Httpsnoop provides an easy way to capture http +related metrics (i.e. response time, bytes written, and http status + code) from your application's http.Handlers.") + (license license:expat))) -- 2.29.2