unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Anders Ågren Thuné" <anders@aathn.org>
To: 64400@debbugs.gnu.org
Cc: "Anders Ågren Thuné" <anders@aathn.org>
Subject: [bug#64400] [PATCH 4/5] gnu: Add ocaml-toml.
Date: Sat, 01 Jul 2023 17:43:22 +0000	[thread overview]
Message-ID: <20230701174258.21019-4-anders@aathn.org> (raw)
In-Reply-To: <20230701174258.21019-1-anders@aathn.org>

* gnu/packages/ocaml.scm (ocaml-toml): New variable.
---
 gnu/packages/ocaml.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 083c1aca99..83077addb0 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2772,6 +2772,31 @@ (define-public ocaml-npy
 from python using numpy.")
     (license license:asl2.0)))
 
+(define-public ocaml-toml
+  (package
+    (name "ocaml-toml")
+    (version "7.1.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/ocaml-toml/to.ml")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0z2873mj3i6h9cg8zlkipcjab8jympa4c4avhk4l04755qzphkds"))))
+    (build-system dune-build-system)
+    (propagated-inputs (list ocaml-odoc ocaml-ISO8601))
+    (native-inputs
+     (list ocaml-menhir ocaml-ounit2 ocaml-mdx ocaml-bisect-ppx ocaml-ocb))
+    (home-page "https://ocaml-toml.github.io/To.ml/")
+    (synopsis "Library for TOML with a parser, a serializer and a printer")
+    (description
+     "toml is an OCaml library providing a parser, a serializer and a printer for
+TOML, a minimal configuration file format.  Helpful getters to retrieve data as
+OCaml primitive types are also supplied.")
+    (license license:lgpl3)))
+
 (define-public ocaml-parmap
   (package
     (name "ocaml-parmap")
-- 
2.40.1






  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 ` [bug#64400] [PATCH 1/5] gnu: Add ocaml-ISO8601 Anders Ågren Thuné
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   ` Anders Ågren Thuné [this message]
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-4-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).