From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id eEwYI2YooWSW7AAASxT56A (envelope-from ) for ; Sun, 02 Jul 2023 09:33:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sKXXImYooWRu9QAAauVa8A (envelope-from ) for ; Sun, 02 Jul 2023 09:33:58 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 32B63F943 for ; Sun, 2 Jul 2023 09:33:58 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=aathn.org header.s=protonmail header.b="YBKRcv/G"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=aathn.org (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688283238; a=rsa-sha256; cv=none; b=dqCGKUf/PAPsz0sonop377tD4NVcqhK40mvatP9YnwsFX45u8dkpai8GZNMki1obB1UWXc xuvgdyuSLU2uh+pAzT//1+JlqP1+dz38NBNbJGuEMFS7SeuliasmCWCY9GsMotXQ7sQqiX jUujx/ncA4SzBc5rXPhP/SCpTtEzzhHsf6DLbqIUIvy8hJ2PuTVIKI7vFFURPfkf2yF8rS DFp1sMGaaW3F1Mk0VMyWDuJUl2/pRz5B6qQeMJ9JQ5KCwUp0ps8eeMMt+mBCV8SPpH0sVt kvADXXseoUpYM9b46CqG2E6rjdb03eNrZrkR+TPm/jq2mWPYRrPGco3nydysNQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=aathn.org header.s=protonmail header.b="YBKRcv/G"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=aathn.org (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688283238; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=yj5o4pRECWyk1kdaZ7tBmF9kZsNKmeSWXsIZF2Mzay0=; b=VlPqU/TsMVSZSCPhlZFlSb6SGNyM3Z+BDh/AxVJB3U2x0MlhGbvxC/YOzBxH/RZnm+IrUM yiQIDS7qtQniVtEaoCRJJGRvXFgcdeutEDY83BklNLqpJypij9oa7ckfxh7tqg7gW/uqp7 0CSKhFsd0l9sY3BBb1TxG3MT7FuVsEoWAgk5TV4MqoFSR/AqPeD9rYaMz9uehDYG9pVJsd ABjVKNsDNNV3EuWbmNWj028UIhscvJuTtCRTQOZjm6NtQpwgKCA2pgcAzdsS2jbyTZ/lJq d3FH3ku/t1yMg/H0eKwN9uZX1UXwuG6itAOkgfdQeZ1XgyBRDyUaMNz8eSdxCA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFrZy-0005uw-1l; Sun, 02 Jul 2023 03:33:06 -0400 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 1qFrZv-0005tv-NA for guix-patches@gnu.org; Sun, 02 Jul 2023 03:33:04 -0400 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 1qFrZv-00022Q-EJ for guix-patches@gnu.org; Sun, 02 Jul 2023 03:33:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qFrZv-0008Ez-AB for guix-patches@gnu.org; Sun, 02 Jul 2023 03:33:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64400] [PATCH 1/5] gnu: Add ocaml-ISO8601. References: <20230630172616.23296-1-anders@aathn.org> In-Reply-To: <20230630172616.23296-1-anders@aathn.org> Resent-From: Anders =?UTF-8?Q?=C3=85gren_?= =?UTF-8?Q?Thun=C3=A9?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 02 Jul 2023 07:33:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64400 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64400@debbugs.gnu.org Cc: Anders =?UTF-8?Q?=C3=85gren_?= =?UTF-8?Q?Thun=C3=A9?= Received: via spool by 64400-submit@debbugs.gnu.org id=B64400.168828317731597 (code B ref 64400); Sun, 02 Jul 2023 07:33:03 +0000 Received: (at 64400) by debbugs.gnu.org; 2 Jul 2023 07:32:57 +0000 Received: from localhost ([127.0.0.1]:59106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFrZo-0008DS-NP for submit@debbugs.gnu.org; Sun, 02 Jul 2023 03:32:57 -0400 Received: from mail-40136.proton.ch ([185.70.40.136]:47191) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFed3-0000U3-0S for 64400@debbugs.gnu.org; Sat, 01 Jul 2023 13:43:27 -0400 Date: Sat, 01 Jul 2023 17:43:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aathn.org; s=protonmail; t=1688233398; x=1688492598; bh=yj5o4pRECWyk1kdaZ7tBmF9kZsNKmeSWXsIZF2Mzay0=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=YBKRcv/Gkb6aj+fXDBv950xi4ngkNuJUIzcV2pm4P5NVYkJzRhELyRwoLSLKmakpR XV7HYB0wSzQ+4GTFlaxSyiXXIyHwq+JoCOABDnwaLV2TiT7s6LyQIvRTSeEIsFVgdx sZ4z31nEPTOqOod9qL3wjeyZ7qLGNOkXzyfoocjuD9VJx9TzfMPhf0+VvRvSbmK7dg o9A7sSKChp3GaD+8Dh0D4Aqz7zSRXtH5gizDosCSnO3f+sn8uX0Sn3OfUD7dFezacN EVZMy8hShNRb/1iQRvfQZ2221qi3yjXdiqPD6K8Pl1R7Q3xmvTSdOvp40n9IavEVcJ GR+xqSST6hA7Q== From: Anders =?UTF-8?Q?=C3=85gren_?= =?UTF-8?Q?Thun=C3=A9?= Message-ID: <20230701174258.21019-1-anders@aathn.org> Feedback-ID: 38242901:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Sun, 02 Jul 2023 03:32:54 -0400 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 0.35 X-Migadu-Queue-Id: 32B63F943 X-Spam-Score: 0.35 X-TUID: wfETKv3mh4/u * gnu/packages/ocaml.scm (ocaml-ISO8601): 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 ab0aa0574a..abdf09bdc1 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -29,6 +29,7 @@ ;;; Copyright =C2=A9 2022 Garek Dyszel ;;; Copyright =C2=A9 2023 Csepp ;;; Copyright =C2=A9 2023 Foundation Devices, Inc. +;;; Copyright =C2=A9 2023 Anders =C3=85gren Thun=C3=A9 ;;; ;;; This file is part of GNU Guix. ;;; @@ -2699,6 +2700,32 @@ (define-public ocaml-ppx-tools syntactic tools.") (license license:expat))) =20 +(define-public ocaml-ISO8601 + ;; NOTE: Using commit from master branch as 0.2.6 uses the Pervasives + ;; module in its tests, which is incompatible with OCaml 5.0. + (let ((revision "0") + (commit "ad50cb01061405623c834608c26f1ef2d44f8340")) + (package + (name "ocaml-ISO8601") + (version (git-version "0.2.6" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ocaml-community/ISO8601.ml"= ) + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1lvjrxz66b7dv40cbl8xyfv3x8nmwj0m5ipfvxc37mjaaf3xrr5g"))= )) + (build-system dune-build-system) + (propagated-inputs (list ocaml-odoc)) + (native-inputs (list ocaml-ounit)) + (home-page "https://github.com/ocaml-community/ISO8601.ml/") + (synopsis "ISO 8601 and RFC 3339 date parsing for OCaml") + (description + "OCaml parser and printer for date-times in ISO8601 and RFC 3339") + (license license:expat)))) + (define-public ocaml-parmap (package (name "ocaml-parmap") --=20 2.40.1