From patchwork Wed Jun 22 12:59:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dhruvin Gandhi X-Patchwork-Id: 40236 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 B12BE27BBEA; Wed, 22 Jun 2022 14:03:00 +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 7A06627BBE9 for ; Wed, 22 Jun 2022 14:03:00 +0100 (BST) Received: from localhost ([::1]:38944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o400Y-0006cj-9Q for patchwork@mira.cbaines.net; Wed, 22 Jun 2022 09:02:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3zyg-0005KL-Vi for guix-patches@gnu.org; Wed, 22 Jun 2022 09:01:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40441) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3zyg-0007Og-Kj for guix-patches@gnu.org; Wed, 22 Jun 2022 09:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o3zyg-0008V1-GX for guix-patches@gnu.org; Wed, 22 Jun 2022 09:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54882] [PATCH v3 1/6] gnu: Add go-github-com-google-shlex. Resent-From: Dhruvin Gandhi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Jun 2022 13:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54882 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54882@debbugs.gnu.org Cc: Dhruvin Gandhi Received: via spool by 54882-submit@debbugs.gnu.org id=B54882.165590280532414 (code B ref 54882); Wed, 22 Jun 2022 13:01:02 +0000 Received: (at 54882) by debbugs.gnu.org; 22 Jun 2022 13:00:05 +0000 Received: from localhost ([127.0.0.1]:34324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3zxj-0008QT-Hs for submit@debbugs.gnu.org; Wed, 22 Jun 2022 09:00:04 -0400 Received: from out2.migadu.com ([188.165.223.204]:64564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3zxf-0008PG-QN for 54882@debbugs.gnu.org; Wed, 22 Jun 2022 09:00:02 -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=dhruvin.dev; s=key1; t=1655902799; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4f2fd1ga9LLkz61xM6ajV6/kdPQ62nzduMq9PN9eAyA=; b=XCsu2LvC3peZRrfk0o5fG9rhI/G93XSWYYYKgvo0hrcyz7iLr58FoSWjwVyemXIl3fIb/s 1orBFwYOI0zL3n6Ayi8bshhFXvmuN4/MoCMjGcPjfmyCHIpI/l5+OINct+ldmPRXNbNNX9 tOxivj7QeDziNhh5nJ1YkRERvmEOEh8= Date: Wed, 22 Jun 2022 18:29:10 +0530 Message-Id: <20220622125915.2891-2-contact@dhruvin.dev> In-Reply-To: <20220622125915.2891-1-contact@dhruvin.dev> References: <20220622125915.2891-1-contact@dhruvin.dev> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: dhruvin.dev 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: Dhruvin Gandhi X-ACL-Warn: , Dhruvin Gandhi via Guix-patches X-Patchwork-Original-From: Dhruvin Gandhi via Guix-patches via From: Dhruvin Gandhi X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-google-shlex): New variable. --- gnu/packages/golang.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 296f0b8b07..f7ea36c636 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -34,6 +34,7 @@ ;;; Copyright © 2021 Philip McGrath ;;; Copyright © 2021 Lu Hui ;;; Copyright © 2022 Pier-Hugues Pellerin +;;; Copyright © 2022 Dhruvin Gandhi ;;; ;;; This file is part of GNU Guix. ;;; @@ -9843,3 +9844,25 @@ (define-public go-github-com-google-go-jsonnet production-ready implementation, compatible with the original Jsonnet C++ implementation.") (license license:asl2.0))) + +(define-public go-github-com-google-shlex + (package + (name "go-github-com-google-shlex") + (version "0.0.0-20191202100458-e7afc7fbc510") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/shlex") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "14z8hqyik910wk2qwnzgz8mjsmiamxa0pj55ahbv0jx6j3dgvzfm")))) + (build-system go-build-system) + (arguments (list #:import-path "github.com/google/shlex")) + (home-page "https://github.com/google/shlex") + (synopsis "Simple lexer for Go") + (description + "Package shlex implements a simple lexer which splits input into tokens using +shell-style rules for quoting and commenting.") + (license license:asl2.0)))