From patchwork Sat Apr 22 16:27:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 49400 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 E5F9027BBE9; Sat, 22 Apr 2023 17:29:40 +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=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 DBF1227BBE2 for ; Sat, 22 Apr 2023 17:29:39 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqG7A-0005Ef-Tt; Sat, 22 Apr 2023 12:29:32 -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 1pqG6m-00052P-FD for guix-patches@gnu.org; Sat, 22 Apr 2023 12:29:12 -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 1pqG6m-0000wE-7l for guix-patches@gnu.org; Sat, 22 Apr 2023 12:29:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pqG6m-0008OX-4J for guix-patches@gnu.org; Sat, 22 Apr 2023 12:29:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63017] [PATCH 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: Sat, 22 Apr 2023 16:29:08 +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.168218090632088 (code B ref 63017); Sat, 22 Apr 2023 16:29:08 +0000 Received: (at 63017) by debbugs.gnu.org; 22 Apr 2023 16:28:26 +0000 Received: from localhost ([127.0.0.1]:44006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqG66-0008LO-DY for submit@debbugs.gnu.org; Sat, 22 Apr 2023 12:28:26 -0400 Received: from 6.mo550.mail-out.ovh.net ([46.105.43.205]:43301) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqG5u-0008JS-UV for 63017@debbugs.gnu.org; Sat, 22 Apr 2023 12:28:16 -0400 Received: from director6.ghost.mail-out.ovh.net (unknown [10.109.146.211]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 840E925ABC for <63017@debbugs.gnu.org>; Sat, 22 Apr 2023 16:28:13 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-mjbqh (unknown [10.108.1.115]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id F05BC1FD2E; Sat, 22 Apr 2023 16:28:12 +0000 (UTC) Received: from ngraves.fr ([37.59.142.103]) by ghost-submission-6684bf9d7b-mjbqh with ESMTPSA id hOaOMRwLRGSB/AAADtUDIQ (envelope-from ); Sat, 22 Apr 2023 16:28:12 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-103G00513e8b5a0-cee9-4e8a-aeda-5ea154845554, E9913F706B0966FB98C2C1C62831F8C2A85A18CE) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 Date: Sat, 22 Apr 2023 18:27:46 +0200 Message-Id: <20230422162750.17012-20-ngraves@ngraves.fr> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230422162750.17012-1-ngraves@ngraves.fr> References: <20230422162750.17012-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 800796309988041442 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrfedtiedguddttdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedtkeegteeffeelheeiuefhvdfhfeelffejtdfgjeevieelgfetvedvvedtuedvhfenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhgohhlrghnghdrohhrghenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegtddrudegvddpfeejrdehledrudegvddruddtfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieeftddujeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheehtddpmhhouggvpehsmhhtphhouhht 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 e2b405ba4a..d8c2ff53c6 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -12671,6 +12671,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")