From patchwork Wed Aug 3 21:18:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\\(" X-Patchwork-Id: 41215 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 5A04627BBEA; Wed, 3 Aug 2022 22:19:58 +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 20DD527BBE9 for ; Wed, 3 Aug 2022 22:19:58 +0100 (BST) Received: from localhost ([::1]:37148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJLmX-0006mi-AN for patchwork@mira.cbaines.net; Wed, 03 Aug 2022 17:19:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJLlf-0006If-A7 for guix-patches@gnu.org; Wed, 03 Aug 2022 17:19:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60448) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJLlf-0004n9-1W for guix-patches@gnu.org; Wed, 03 Aug 2022 17:19:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJLle-0006Bd-U6 for guix-patches@gnu.org; Wed, 03 Aug 2022 17:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56961] [PATCH 4/6] gnu: packages: Add go-github-com-google-shlex. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Aug 2022 21:19:02 +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.165956151923715 (code B ref 56961); Wed, 03 Aug 2022 21:19:02 +0000 Received: (at 56961) by debbugs.gnu.org; 3 Aug 2022 21:18:39 +0000 Received: from localhost ([127.0.0.1]:50189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJLlH-0006AL-4T for submit@debbugs.gnu.org; Wed, 03 Aug 2022 17:18:39 -0400 Received: from knopi.disroot.org ([178.21.23.139]:57868) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJLlE-00069k-Bm for 56961@debbugs.gnu.org; Wed, 03 Aug 2022 17:18:36 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id B288A40EF5; Wed, 3 Aug 2022 23:18:35 +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 A0Md75jn72Sp; Wed, 3 Aug 2022 23:18:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1659561511; bh=2Mzns1PBWygaEFLyccKyoTWZ3lsknLrtz/19ac9WL9k=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=lc+SolInlQX26CPFpZ4iYl9qoL7vu+KTi4JZAh1iX0vW2SiI5ZrNsugnbV83xxH/U B//jVphrvA1i5rMY+pbByG0y6R08o+QBiU4jVAw32RLjWO5weR9OauSbyi0X25Rp6N yWiZWDGdT+FvxJOT7BQsnrGPvp48Ps4CPos4yHl4W8wC+jJw8ZLncME0AV9Cp70uTz 9wXe5DkTZzK4wCE6ujJWRxeXQaOz8wrEUD3tJfuoDeAALRDaPtytF+AbRS7UyqXdoG +JIvZUNDmC+voXzr8DVGs6RsgiTDwNQsqP7zcfWAPdelHRchZ1h0NFlV9Nx6L/L8oc SoPyNSjOmXqng== Date: Wed, 3 Aug 2022 22:18:20 +0100 Message-Id: <20220803211822.21182-4-paren@disroot.org> In-Reply-To: <20220803211822.21182-1-paren@disroot.org> References: <20220803211822.21182-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-github-com-google-shlex): New variable. --- gnu/packages/golang.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 13dc28ddc6..90cd1849fd 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9968,3 +9968,27 @@ (define-public go-mvdan-cc-xurls "This package provides a library for extracting URLs from plain text using regular expressions in Go.") (license license:bsd-3))) + +(define-public go-github-com-google-shlex + (let ((commit "c34317bd91bf98fab745d77b03933cf8769299fe") + (revision "0")) + (package + (name "go-github-com-google-shlex") + (version "1.2.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "github.com/google/shlex") + (commit commit))) + (file-name (git-file-name name commit)) + (sha256 + (base32 + "00qivza4hkllfkar2vpqmyxybi0fwqipgijv61dgapq4xddxdq0r")))) + (build-system go-build-system) + (arguments (list #:import-path "github.com/google/shlex")) + (home-page "github.com/google/shlex") + (synopsis "Simple shell lexer for Go") + (description + "Shlex is a simple shell-syntax lexer for Go that supports +quoting, commenting, and escaping.") + (license license:asl2.0))))