From patchwork Wed Feb 15 21:59:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46963 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 65A3416888; Wed, 15 Feb 2023 22:01:47 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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 43AF016876 for ; Wed, 15 Feb 2023 22:01:46 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPpr-0001Ga-IN; Wed, 15 Feb 2023 17:01:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSPpp-0001Ez-Ny for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pSPpp-0002AR-FF for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPpp-0006rk-9k for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 06/39] gnu: Add ocaml-emile. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:01:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60673 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo patch To: 60673@debbugs.gnu.org Cc: raingloom Received: via spool by 60673-submit@debbugs.gnu.org id=B60673.167649845726278 (code B ref 60673); Wed, 15 Feb 2023 22:01:05 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:00:57 +0000 Received: from localhost ([127.0.0.1]:34199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpg-0006pZ-GP for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:57 -0500 Received: from mx0.riseup.net ([198.252.153.6]:49936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpc-0006nw-UY for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:53 -0500 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4PHBpl41Mqz9sNy for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:00:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498447; bh=ZA9Qj3NTLewW/hT0GHBy2cp0dVbapvCgWniaBrpfmLo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R4De5ISO6yuTNto8W2UDPa92f38zgPWY4DDNLwRCo7eizVZtKC9dnSCNITxHUxDl+ W9KeDYrciaAgGhr1QOvk3yumBGr2BdZTHe4Nmc63Qu03E/I/cA1dRWfpXPGoVSk1gn kytJ76BfIGfPZTG6p7GSoEM+DXYzbOGldYQOL9Ig= X-Riseup-User-ID: 6018F9EEAFF50A4EC00C5D46833888F1E905BDC7630139490D6C376963544F73 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBpk50D9z1y8Z; Wed, 15 Feb 2023 22:00:46 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 22:59:55 +0100 Message-Id: <20230215220028.18575-7-raingloom@riseup.net> In-Reply-To: <20230215220028.18575-1-raingloom@riseup.net> References: <20230215220028.18575-1-raingloom@riseup.net> 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: raingloom * gnu/packages/ocaml.scm (ocaml-emile): New variable. --- gnu/packages/ocaml.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 17230b5023..f6371983d3 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3648,6 +3648,33 @@ (define-public ocaml-pecu contents of emails.") (license license:expat))) +(define-public ocaml-emile + (package + (name "ocaml-emile") + (version "1.1") + (source (origin + (method url-fetch) + (uri + "https://github.com/mirage/emile/releases/download/v1.1/emile-v1.1.tbz") + (sha256 + (base32 + "0r1141makr0b900aby1gn0fccjv1qcqgyxib3bzq8fxmjqwjan8p")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-angstrom + ocaml-ipaddr + ocaml-base64 + ocaml-pecu + ocaml-bigstringaf + ocaml-uutf)) + (native-inputs (list ocaml-alcotest)) + (home-page "https://github.com/mirage/emile") + (synopsis "Parser of email address according RFC822") + (description + "This package provides a parser of email address according RFC822, RFC2822, +RFC5321 and RFC6532. It handles UTF-8 email addresses and encoded-word +according RFC2047.") + (license license:expat))) + (define-public ocaml-ocurl (package (name "ocaml-ocurl")