From patchwork Sun Apr 23 12:27:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 49432 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 081D327BBE2; Sun, 23 Apr 2023 13:29:46 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 BA9DD27BBE9 for ; Sun, 23 Apr 2023 13:29:44 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqYqC-000398-Tx; Sun, 23 Apr 2023 08:29:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pqYq4-00033k-6T for guix-patches@gnu.org; Sun, 23 Apr 2023 08:29:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pqYq3-0001vY-Tb for guix-patches@gnu.org; Sun, 23 Apr 2023 08:29:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pqYq3-0006Q9-PB for guix-patches@gnu.org; Sun, 23 Apr 2023 08:29:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63017] [PATCH v2 20/24] gnu: Add go-github-com-ssgelm-cookiejarparser. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 23 Apr 2023 12:29:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63017 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63017@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 63017-submit@debbugs.gnu.org id=B63017.168225291424499 (code B ref 63017); Sun, 23 Apr 2023 12:29:07 +0000 Received: (at 63017) by debbugs.gnu.org; 23 Apr 2023 12:28:34 +0000 Received: from localhost ([127.0.0.1]:44782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqYpV-0006My-OH for submit@debbugs.gnu.org; Sun, 23 Apr 2023 08:28:34 -0400 Received: from 17.mo581.mail-out.ovh.net ([188.165.35.227]:49337) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqYpE-0006LK-HI for 63017@debbugs.gnu.org; Sun, 23 Apr 2023 08:28:17 -0400 Received: from director11.ghost.mail-out.ovh.net (unknown [10.109.146.163]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 72829229E6 for <63017@debbugs.gnu.org>; Sun, 23 Apr 2023 12:28:15 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-cpvrh (unknown [10.110.171.220]) by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 293111FD44; Sun, 23 Apr 2023 12:28:14 +0000 (UTC) Received: from ngraves.fr ([37.59.142.95]) by ghost-submission-6684bf9d7b-cpvrh with ESMTPSA id gjemOF4kRWSjDwAAzcR1Rw (envelope-from ); Sun, 23 Apr 2023 12:28:14 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-95G001a31fcd26-c2d7-4c4c-84aa-3a717809515f, EDF19EEF7CB87F1BB4CF904116A7601ECA35D520) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 Date: Sun, 23 Apr 2023 14:27:44 +0200 Message-Id: <20230423122748.6770-20-ngraves@ngraves.fr> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230423122748.6770-1-ngraves@ngraves.fr> References: <20230423122748.6770-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 2620813510510764770 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrfedtkedghedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnheptdekgeetfeefleehieeuhfdvhfefleffjedtgfejveeilefgteevvdevtdeuvdfhnecuffhomhgrihhnpehgihhthhhusgdrtghomhdpghholhgrnhhgrdhorhhgnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrdelheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieeftddujeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-ssgelm-cookiejarparser): New variable. --- gnu/packages/golang.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d72dcc5081..dd3a8e3827 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -12677,6 +12677,40 @@ (define-public go-github-com-kyoh86-xdg Specification.") (license license:expat))) +(define-public go-github-com-ssgelm-cookiejarparser + (package + (name "go-github-com-ssgelm-cookiejarparser") + (version "1.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ssgelm/cookiejarparser") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0fnm53br0cg3iwzniil0lh9w4xd6xpzfypwfpdiammfqavlqgcw4")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/ssgelm/cookiejarparser" + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-embed-x-net + (lambda _ + (delete-file-recursively "src/golang.org/x/net/publicsuffix/data") + (copy-recursively + #$(file-append (this-package-input "go-golang-org-x-net") + "/src/golang.org/x/net/publicsuffix/data") + "src/golang.org/x/net/publicsuffix/data")))))) + (propagated-inputs (list go-golang-org-x-net)) + (home-page "https://github.com/ssgelm/cookiejarparser") + (synopsis "Parse a curl cookiejar with Go") + (description + "This package is a Go library that parses a curl (netscape) cookiejar +file into a Go http.CookieJar.") + (license license:expat))) + (define-public go-github-com-ssor-bom (package (name "go-github-com-ssor-bom")