From patchwork Sat Jun 11 19:16:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\\(" X-Patchwork-Id: 39858 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 7753A27BBEA; Sat, 11 Jun 2022 20:19:49 +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 2F7D127BBE9 for ; Sat, 11 Jun 2022 20:19:49 +0100 (BST) Received: from localhost ([::1]:35040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o06eB-0005Gu-3d for patchwork@mira.cbaines.net; Sat, 11 Jun 2022 15:19:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o06cb-000283-VK for guix-patches@gnu.org; Sat, 11 Jun 2022 15:18:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60133) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o06cb-0007ee-Cw for guix-patches@gnu.org; Sat, 11 Jun 2022 15:18:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o06cb-0004zl-95 for guix-patches@gnu.org; Sat, 11 Jun 2022 15:18:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55903] [PATCH 18/41] gnu: Add go-github-com-jhillyerd-enmime. Resent-From: "(unmatched-parenthesis" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 11 Jun 2022 19:18:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55903 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55903@debbugs.gnu.org Cc: "\(unmatched-parenthesis" Received: via spool by 55903-submit@debbugs.gnu.org id=B55903.165497505718789 (code B ref 55903); Sat, 11 Jun 2022 19:18:09 +0000 Received: (at 55903) by debbugs.gnu.org; 11 Jun 2022 19:17:37 +0000 Received: from localhost ([127.0.0.1]:53953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o06c4-0004st-Ii for submit@debbugs.gnu.org; Sat, 11 Jun 2022 15:17:36 -0400 Received: from knopi.disroot.org ([178.21.23.139]:51120) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o06bx-0004r3-M2 for 55903@debbugs.gnu.org; Sat, 11 Jun 2022 15:17:29 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3595B43CBC; Sat, 11 Jun 2022 21:17:29 +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 ESMTP id VxZCTKXL4FZX; Sat, 11 Jun 2022 21:17:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1654975041; bh=3xaX75YxHUNh6tvXUHC1wA8AL82+DJodrDmZj0A2tM0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=kDw/NKkd1rT84+LMXed6xrtCFJckZ6UZJihPqxhrtuhOlFmiH46stxesSYHmJ9mAV P2zAE1p8Oi8PowYvUmSmaO/9aYSyfR2lRG/YJ66uh27e5J61XV+pZbqXciOh6+5V9Q GPPXWDBGsydBCd580rXAdfspaupjGEvVeh29mfGUirUzQpQ6GhgqrTxAW6Iyg/joEe lZ0/WNp9SQ0X6ouwhyQNNnsjK4XYAL+ut72F31caYLkFUSqKxxAu+/hHbHL2BG8e3x HMUtdQUC7+yMj9jlJ+igwraQKPiHxjHNqOqV7t+s+j/tJek6oye9uB0nQkU14xA5ri +h7BXWZOsLWvw== Date: Sat, 11 Jun 2022 20:16:30 +0100 Message-Id: <20220611191653.15471-18-paren@disroot.org> In-Reply-To: <20220611191653.15471-1-paren@disroot.org> References: <20220611191653.15471-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: "\(unmatched-parenthesis" X-ACL-Warn: , "\(unmatched-parenthesis via Guix-patches" X-Patchwork-Original-From: "\(unmatched-parenthesis via Guix-patches" via From: "\\(" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-jhillyerd-enmime): New variable. --- gnu/packages/golang.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 34cf0de952..e16af75883 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -10255,3 +10255,39 @@ (define-public go-github-com-cention-sany-utf7 "Package utf7 provides support for the obsolete UTF-7 text encoding in Go.") (license license:bsd-3))) + +(define-public go-github-com-jhillyerd-enmime + (package + (name "go-github-com-jhillyerd-enmime") + (version "0.9.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jhillyerd/enmime") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "124dqm598phbmalyx2gmxk201z9kq4ckvvdq8rc0akjlp24nxqbb")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/jhillyerd/enmime")) + (propagated-inputs (list go-golang-org-x-text + go-golang-org-x-net + go-github-com-stretchr-testify + go-github-com-ssor-bom + go-github-com-rivo-uniseq + go-github-com-pkg-errors + go-github-com-olekukonko-tablewriter + go-github-com-mattn-go-runewidth + go-github-com-gogs-chardet + go-github-com-jaytaylor-html2text + go-github-com-go-test-deep + go-github-com-cention-sany-utf7)) + (home-page "https://github.com/jhillyerd/enmime") + (synopsis "Encode and decode MIME") + (description + "Package enmime implements a MIME encoding and decoding library. +It's built on top of Go's included mime/multipart support where possible, +but is geared towards parsing MIME encoded emails.") + (license license:expat)))