From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OneHE+37v2APWgAAgWs5BA (envelope-from ) for ; Wed, 09 Jun 2021 01:23:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2KRbDu37v2CKTQAA1q6Kng (envelope-from ) for ; Tue, 08 Jun 2021 23:23:25 +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 120D7193CA for ; Wed, 9 Jun 2021 01:23:25 +0200 (CEST) Received: from localhost ([::1]:44660 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lql48-0006cb-3s for larch@yhetil.org; Tue, 08 Jun 2021 19:23:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lql3o-0005iI-NS for guix-patches@gnu.org; Tue, 08 Jun 2021 19:23:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48597) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lql3o-0005Jb-H3 for guix-patches@gnu.org; Tue, 08 Jun 2021 19:23:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lql3o-0003wJ-Eh for guix-patches@gnu.org; Tue, 08 Jun 2021 19:23:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v3 26/47] gnu: Add go-github-com-getlantern-context. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 08 Jun 2021 23:23:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162319455315008 (code B ref 48729); Tue, 08 Jun 2021 23:23:04 +0000 Received: (at 48729) by debbugs.gnu.org; 8 Jun 2021 23:22:33 +0000 Received: from localhost ([127.0.0.1]:60122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lql3J-0003u0-2w for submit@debbugs.gnu.org; Tue, 08 Jun 2021 19:22:33 -0400 Received: from out0.migadu.com ([94.23.1.103]:20828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lql3H-0003tl-Ex for 48729@debbugs.gnu.org; Tue, 08 Jun 2021 19:22:31 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623194550; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=475x0fZlLk9eQgErLGxKuJECND6Zhz1Qr5ALDEczDKk=; b=cGAEAzQs8dNpRmI+BadP1bfsUM8OjW4BA8H/alHRzqi94kD5itk+dRhQcYaEAUmXOpE8Tp KtpJbiC7I8ktksFHh8omd1EZpbJmx+aD2EH8MZkBcM4LFCFOpKH+UzNu4IdV79OGY+l0d6 ExAKhXWqZ89nidm5otT9j6G58H2UIDJYDi+qZWR8wM672y3a6JRg3jfVdBcR5bfPQ07q1D DscR/lQwZ4lEZ+KqEVaZuL+aG3V6U8ispqarascBPX7AwcKmaAV2LhAiVNfD9kx7ZRus4R gfFPd2T4Db+HuPoZRFS7RDtih7dV+3cs+JIj9ym2ItO9aNaaojDRczvsXnX4RA== Date: Tue, 8 Jun 2021 19:21:43 -0400 Message-Id: <20210608232204.18111-26-rg@raghavgururajan.name> In-Reply-To: <20210608232204.18111-21-rg@raghavgururajan.name> References: <20210608232204.18111-21-rg@raghavgururajan.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Auth-User: rg@raghavgururajan.name 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" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches From: Raghav Gururajan via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: 120D7193CA X-Spam-Score: -4.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: pr9we4Zc7gNX * gnu/packages/golang.scm (go-github-com-getlantern-context): 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 9c182bba3c..7ccb085587 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -69,6 +69,34 @@ #:use-module (ice-9 match) #:use-module (srfi srfi-1)) +(define-public go-github-com-getlantern-context + (let ((commit "c447772a6520c1a3ae6294a7df725ee08230f14e") + (revision "30")) + (package + (name "go-github-com-getlantern-context") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/getlantern/context") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "08s1m1pqkwppvvc6biccyxs7wqzmgjyhyqdgfzwm9vp0c6vzr2sg")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/getlantern/context")) + (native-inputs + `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify))) + (synopsis "Goroutine-based Context State") + (description "This package provides a stack abstraction that allows nested +contexts similar to jtolds' library, but using Enter() and Exit() instead of +callback functions.") + (home-page "https://github.com/getlantern/context") + (license license:asl2.0)))) + (define-public go-github-com-burntsushi-xgbutil (let ((commit "ad855c7130460fb6cf40af9302c649a69082a4ee") (revision "335")) -- 2.31.1