[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#64400] [PATCH 4/5] gnu: Add ocaml-toml.
From: |
Anders Ågren Thuné |
Subject: |
[bug#64400] [PATCH 4/5] gnu: Add ocaml-toml. |
Date: |
Sat, 01 Jul 2023 17:43:22 +0000 |
* 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