From: "Anders Ågren Thuné" <anders@aathn.org>
To: 64400@debbugs.gnu.org
Cc: "Anders Ågren Thuné" <anders@aathn.org>
Subject: [bug#64400] [PATCH 1/5] gnu: Add ocaml-ISO8601.
Date: Sat, 01 Jul 2023 17:43:03 +0000 [thread overview]
Message-ID: <20230701174258.21019-1-anders@aathn.org> (raw)
In-Reply-To: <20230630172616.23296-1-anders@aathn.org>
* 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 © 2022 Garek Dyszel <garekdyszel@disroot.org>
;;; Copyright © 2023 Csepp <raingloom@riseup.net>
;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com>
+;;; Copyright © 2023 Anders Ågren Thuné <anders@aathn.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2699,6 +2700,32 @@ (define-public ocaml-ppx-tools
syntactic tools.")
(license license:expat)))
+(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")
--
2.40.1
next prev parent reply other threads:[~2023-07-02 7:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-30 17:26 [bug#64400] [PATCH 0/5] Add ocaml-owl and ocaml-toml Anders Ågren Thuné
2023-07-01 17:43 ` Anders Ågren Thuné [this message]
2023-07-01 17:43 ` [bug#64400] [PATCH 2/5] gnu: Add ocaml-ocb Anders Ågren Thuné
2023-07-11 18:31 ` Liliana Marie Prikler
2023-07-01 17:43 ` [bug#64400] [PATCH 3/5] gnu: Add ocaml-npy Anders Ågren Thuné
2023-07-01 17:43 ` [bug#64400] [PATCH 4/5] gnu: Add ocaml-toml Anders Ågren Thuné
2023-07-01 17:43 ` [bug#64400] [PATCH 5/5] gnu: Add ocaml-owl Anders Ågren Thuné
2023-07-11 18:37 ` Liliana Marie Prikler
2023-07-11 18:30 ` [bug#64400] [PATCH 1/5] gnu: Add ocaml-ISO8601 Liliana Marie Prikler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230701174258.21019-1-anders@aathn.org \
--to=anders@aathn.org \
--cc=64400@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).