From patchwork Thu Jun 23 09:38:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dhruvin Gandhi X-Patchwork-Id: 3324 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 1E12127BBEA; Thu, 23 Jun 2022 11:41:12 +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 C80C127BBE9 for ; Thu, 23 Jun 2022 11:41:11 +0100 (BST) Received: from localhost ([::1]:59798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4KGs-0005pI-Rn for patchwork@mira.cbaines.net; Thu, 23 Jun 2022 06:41:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47482) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4JIk-0001BF-TO for guix-patches@gnu.org; Thu, 23 Jun 2022 05:39:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43548) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o4JIk-0006wy-Hi for guix-patches@gnu.org; Thu, 23 Jun 2022 05:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o4JIk-0000lG-Fd for guix-patches@gnu.org; Thu, 23 Jun 2022 05:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54882] [PATCH v4 1/6] gnu: Add go-github-com-google-shlex. References: <20220412121039.23573-1-contact@dhruvin.dev> In-Reply-To: <20220412121039.23573-1-contact@dhruvin.dev> Resent-From: Dhruvin Gandhi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Jun 2022 09:39: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.16559771262845 (code B ref 54882); Thu, 23 Jun 2022 09:39:02 +0000 Received: (at 54882) by debbugs.gnu.org; 23 Jun 2022 09:38:46 +0000 Received: from localhost ([127.0.0.1]:37432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4JIT-0000jo-SR for submit@debbugs.gnu.org; Thu, 23 Jun 2022 05:38:46 -0400 Received: from out1.migadu.com ([91.121.223.63]:64521) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4JIR-0000jX-Ll for 54882@debbugs.gnu.org; Thu, 23 Jun 2022 05:38:44 -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=1655977122; 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; bh=4f2fd1ga9LLkz61xM6ajV6/kdPQ62nzduMq9PN9eAyA=; b=FVDHlTpgzJLZ/7vx64WNvAgRfyqdG8A00MzwPs17RIc6oIeycTGkpCJ6P71m0d4JiGiheV /aKqbJVG7jxRhW3+RoMlP5BkHVDgBgbBWMGD4XtfGqkmIPCHZvhlYya/X5ilARPuQmt2zz 2qcYd2/qejORY/xzmK4JyL58v51cBRc= Date: Thu, 23 Jun 2022 15:08:03 +0530 Message-Id: <20220623093808.21573-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)))