all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Matthieu Lemerre <racin@free.fr>
To: 66119@debbugs.gnu.org
Cc: Matthieu Lemerre <racin@free.fr>,
	Julien Lepiller <julien@lepiller.eu>,
	pukkamustard <pukkamustard@posteo.net>
Subject: [bug#66119] [PATCH 3/3] gnu: Add ocaml-toml.
Date: Wed, 20 Sep 2023 12:50:40 +0200	[thread overview]
Message-ID: <a3c875f2855a63ba346e155431397c17794b25b1.1695203766.git.racin@free.fr> (raw)
In-Reply-To: <cover.1695203766.git.racin@free.fr>

* 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 96ef416b30..4941dd91ac 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5040,6 +5040,31 @@ (define-public ocaml-ezjsonm
 JSON.")
     (license license:isc)))
 
+(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 "OCaml 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-uri
   (package
     (name "ocaml-uri")
-- 
2.41.0





  parent reply	other threads:[~2023-09-20 10:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-20 10:45 [bug#66119] [PATCH 0/3] Some OCaml packages (needed for ocaml-toml) Matthieu Lemerre
2023-09-20 10:50 ` [bug#66119] [PATCH 1/3] gnu: Add ocaml-iso8601 Matthieu Lemerre
2023-09-20 10:50 ` [bug#66119] [PATCH 2/3] gnu: Add ocaml-ocb Matthieu Lemerre
2023-09-20 10:50 ` Matthieu Lemerre [this message]
2023-10-14  6:25 ` [bug#66119] [PATCH 0/3] Some OCaml packages (needed for ocaml-toml) pukkamustard
2023-10-24 15:31   ` Ludovic Courtès

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a3c875f2855a63ba346e155431397c17794b25b1.1695203766.git.racin@free.fr \
    --to=racin@free.fr \
    --cc=66119@debbugs.gnu.org \
    --cc=julien@lepiller.eu \
    --cc=pukkamustard@posteo.net \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.