From patchwork Mon Oct 10 16:57:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\\(" X-Patchwork-Id: 43307 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 DACE527BBEA; Mon, 10 Oct 2022 18:19:08 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 9DBF327BBE9 for ; Mon, 10 Oct 2022 18:19:08 +0100 (BST) Received: from localhost ([::1]:50712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohwQl-0006qI-Mz for patchwork@mira.cbaines.net; Mon, 10 Oct 2022 13:19:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42338) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohwD8-0004u1-Tb for guix-patches@gnu.org; Mon, 10 Oct 2022 13:05:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50655) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohwD8-0000ja-A9 for guix-patches@gnu.org; Mon, 10 Oct 2022 13:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ohwD7-0002Jz-W3 for guix-patches@gnu.org; Mon, 10 Oct 2022 13:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56961] [PATCH v2 2/4] gnu: packages: Add go-mvdan-cc-xurls. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 10 Oct 2022 17:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56961 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56961@debbugs.gnu.org Cc: "\(" Received: via spool by 56961-submit@debbugs.gnu.org id=B56961.16654214578844 (code B ref 56961); Mon, 10 Oct 2022 17:05:01 +0000 Received: (at 56961) by debbugs.gnu.org; 10 Oct 2022 17:04:17 +0000 Received: from localhost ([127.0.0.1]:49728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohwCM-0002IN-5W for submit@debbugs.gnu.org; Mon, 10 Oct 2022 13:04:16 -0400 Received: from knopi.disroot.org ([178.21.23.139]:45398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohwCH-0002Hx-6P for 56961@debbugs.gnu.org; Mon, 10 Oct 2022 13:04:11 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 6FB7E4CAAD; Mon, 10 Oct 2022 19:04:08 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id s4vcDMe64I72; Mon, 10 Oct 2022 19:04:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1665421035; bh=iZH4Pae5dEFju6MXbew47E6AWgXdpRrSfJ/J1v4EVEI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Sz26io/cTXSwwm9gwWKrL439D7WutxKcHBrTGCYASP9H9LQonfs6aJYCReUz9DvDO EMsO2wEXhTByIU4diHggqEssv/OpWcgMWe2Vt8GMe+kQLL+UQTk3gaYkTb4L2+oFtC xtyxTPPZ+Trhs77jsaHXVtauMoyfeP9WayRWC486HQhGmuRNF6RxiMqwJnPnLnQpum BIR0uw5lRpJ3XJyn6BudTWMVQhBcJdlW8GZVJAHM5V9u7hIll2dq4QN+kTx4kC4q7e k0MVWk6VNDbIaMgVA07j0kJmyUC1TfvcnK1sN9GJGhPqdw+zHMQmHC5lf4mNDByoyV OHIzF8CB3IAAg== Date: Mon, 10 Oct 2022 17:57:07 +0100 Message-Id: <20221010165709.22638-2-paren@disroot.org> In-Reply-To: <20221010165709.22638-1-paren@disroot.org> References: <20221010165709.22638-1-paren@disroot.org> Mime-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" X-Patchwork-Original-From: "\( via Guix-patches" via From: "\\(" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-mvdan-cc-xurls): 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 cce9c09ca8..3455861d33 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -11206,6 +11206,31 @@ (define-public go-github-com-onsi-ginkgo Gomega matcher library.") (license license:expat))) +(define-public go-mvdan-cc-xurls + (package + (name "go-mvdan-cc-xurls") + (version "2.4.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mvdan/xurls") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0b040nbk1vwlk1qljavh8w8fn2r243q700n6gr8j2asmnz0xq84p")))) + (build-system go-build-system) + (arguments (list #:import-path "mvdan.cc/xurls/v2")) + (propagated-inputs + (list go-golang-org-x-sync + go-github-com-rogpeppe-go-internal)) + (home-page "https://mvdan.cc/xurls/v2") + (synopsis "Extract URLs from text in Go") + (description + "This package provides a library for extracting URLs from plain text +using regular expressions in Go.") + (license license:bsd-3))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar