GNU bug report logs -
#66119
[PATCH 0/3] Some OCaml packages (needed for ocaml-toml)
Previous Next
To reply to this bug, email your comments to 66119 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
julien <at> lepiller.eu, pukkamustard <at> posteo.net, guix-patches <at> gnu.org
:
bug#66119
; Package
guix-patches
.
(Wed, 20 Sep 2023 10:46:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Matthieu Lemerre <racin <at> free.fr>
:
New bug report received and forwarded. Copy sent to
julien <at> lepiller.eu, pukkamustard <at> posteo.net, guix-patches <at> gnu.org
.
(Wed, 20 Sep 2023 10:46:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
Here are three missing OCaml packages. (I have more to come, but I want to make sure that I got the process right)
Best regards,
Matthieu
Matthieu Lemerre (3):
gnu: Add ocaml-iso8601.
gnu: Add ocaml-ocb.
gnu: Add ocaml-toml.
gnu/packages/ocaml.scm | 70 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 70 insertions(+)
base-commit: 15c5f1a2c20b21de0f19f42db1ccab4c42117ebb
--
2.41.0
Information forwarded
to
julien <at> lepiller.eu, pukkamustard <at> posteo.net, guix-patches <at> gnu.org
:
bug#66119
; Package
guix-patches
.
(Wed, 20 Sep 2023 10:52:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 66119 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/ocaml.scm (ocaml-iso8601): New variable.
---
gnu/packages/ocaml.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index ea9d3e3594..5caa2d6185 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2445,6 +2445,28 @@ (define-public ocaml-calendar
;; With linking exception.
(license license:lgpl2.1+))))
+(define-public ocaml-iso8601
+ (package
+ (name "ocaml-iso8601")
+ (version "0.2.6")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ocaml-community/ISO8601.ml")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0nzadswspizi7s6sf67icn2xgc3w150x8vdg5nk1mjrm2s98n6d3"))))
+ (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 3999 date parsing for OCaml")
+ (description
+ "An OCaml library for parsing dates in ISO 8601 and RFC 3999 format.")
+ (license license:expat)))
+
(define-public ocaml-cmdliner
(package
(name "ocaml-cmdliner")
--
2.41.0
Information forwarded
to
julien <at> lepiller.eu, pukkamustard <at> posteo.net, guix-patches <at> gnu.org
:
bug#66119
; Package
guix-patches
.
(Wed, 20 Sep 2023 10:52:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 66119 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/ocaml.scm (ocaml-ocb): New variable.
---
gnu/packages/ocaml.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 5caa2d6185..96ef416b30 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5834,6 +5834,29 @@ (define-public ocaml-ocb-stubblr
OCaml projects that contain C stubs.")
(license license:isc)))
+
+(define-public ocaml-ocb
+ (package
+ (name "ocaml-ocb")
+ (version "0.2")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/OCamlPro/ocb")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1nk90jax91ld8qd36qi408mll8a7w1d60fa2qdsnff7cldwixc1d"))))
+ (build-system dune-build-system)
+ (propagated-inputs (list ocaml-odoc))
+ (home-page "https://ocamlpro.github.io/ocb/")
+ (synopsis "ocb (OCaml Badgen): SVG badge generation")
+ (description
+ "ocb (OCaml Badgen) is an OCaml library for SVG badge generation.
+There's also a command-line tool provided.")
+ (license license:isc)))
+
(define-public ocaml-tsdl
(package
(name "ocaml-tsdl")
--
2.41.0
Information forwarded
to
julien <at> lepiller.eu, pukkamustard <at> posteo.net, guix-patches <at> gnu.org
:
bug#66119
; Package
guix-patches
.
(Wed, 20 Sep 2023 10:52:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 66119 <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#66119
; Package
guix-patches
.
(Sat, 14 Oct 2023 06:39:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 66119 <at> debbugs.gnu.org (full text, mbox):
Hello,
Matthieu Lemerre <racin <at> free.fr> writes:
> Here are three missing OCaml packages. (I have more to come, but I want to make sure that I got the process right)
Thanks!
Descriptions are good, packages build and lint does not complain. Looks
good to me!
One small thing: It seems like ocaml-ocb is not a real dependency of
ocaml-toml (not even a test dependency). It seems to be used only when
deploying new versions of ocaml-toml and ocaml-toml builds fine without
ocaml-ocb. I would drop ocaml-ocb from inputs of ocaml-toml and if you
have no use of ocaml-ocb directly, drop the entire ocaml-ocb patch.
Cheers,
pukkamustard
Information forwarded
to
guix-patches <at> gnu.org
:
bug#66119
; Package
guix-patches
.
(Tue, 24 Oct 2023 15:33:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 66119 <at> debbugs.gnu.org (full text, mbox):
Hi Matthieu,
Did you get a change to look into what pukkamustard wrote (below)?
If you think everything is fine as-is, please let us know and we’ll
apply the patches.
Thanks,
Ludo’.
pukkamustard <pukkamustard <at> posteo.net> skribis:
> Hello,
>
> Matthieu Lemerre <racin <at> free.fr> writes:
>
>> Here are three missing OCaml packages. (I have more to come, but I want to make sure that I got the process right)
>
> Thanks!
>
> Descriptions are good, packages build and lint does not complain. Looks
> good to me!
>
> One small thing: It seems like ocaml-ocb is not a real dependency of
> ocaml-toml (not even a test dependency). It seems to be used only when
> deploying new versions of ocaml-toml and ocaml-toml builds fine without
> ocaml-ocb. I would drop ocaml-ocb from inputs of ocaml-toml and if you
> have no use of ocaml-ocb directly, drop the entire ocaml-ocb patch.
>
> Cheers,
> pukkamustard
This bug report was last modified 1 year and 26 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.