[PATCH 1/9] gnu: Add ocaml-sexplib0.

  • Done
  • quality assurance status badge
Details
2 participants
  • Gabriel Hondet
  • Julien Lepiller
Owner
unassigned
Submitted by
Gabriel Hondet
Severity
normal

Debbugs page

Gabriel Hondet wrote 6 years ago
(address . guix-patches@gnu.org)
87lg3z8nc2.fsf@gmail.com
* gnu/packages/ocaml.scm (ocaml-sexplib0): New variable.
---
gnu/packages/ocaml.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index e4f17133d..bece14477 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5105,3 +5105,28 @@ speedup, polymorphic variants and optional syntax for tuples and variants.
yojson package. The program @code{atdgen} can be used to derive OCaml-JSON
serializers and deserializers from type definitions.")
(license license:bsd-3)))
+
+(define-public ocaml-sexplib0
+ (package
+ (name "ocaml-sexplib0")
+ (version "0.11.0")
+ (home-page "https://github.com/janestreet/sexplib0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url (string-append home-page ".git"))
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "07v3ggyss7xhfv14bjk1n87sr42iqwj4cgjiv2lcdfkqk49i2bmi"))))
+ (build-system dune-build-system)
+ (arguments
+ '(#:tests? #f))
+ (synopsis "Library containing the definition of S-expressions and some
+base converters")
+ (description "Part of Jane Street's Core library The Core suite of
+libraries is an industrial strength alternative to OCaml's standard library
+that was developed by Jane Street, the largest industrial user of OCaml.")
+(license license:expat)))
--
2.20.1
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5ercJXBcjd3P1FcAMbyBBfZZ1CUFAlwweN0ACgkQMbyBBfZZ
1CVtGRAAio29GRn9L/zPyf6ZoPco2PH4mRfDwhmubmSyosKjH+U40Xsbzkuo0wCV
HdwC0czUq/VpWzNHFbrRYizfDv9zzEyl39ddSWUzRFWIPI10MFvLIko+3YonEtMk
XALjEgJo2GWLADtPX+B2IJVP8W+dYJt6lg5GcUSjhJau9G166QpQeB9CnfKCxsFU
dxOPBBsdAw1P26DPme1p+FRicNfKX4dzBqTgyuD9hyTKWuDyx+hQv51ymUjPW0Nd
qCmGSAkLAILbmGp2Yo5OPa0tvYF30e+eDvoq+p2u5uYssWfyPWagiVYQj03ltKXR
jKoBfZBkP9kbiFLZLoRuvbEm/I4fsWZ9tGkvFRtI9+9KXz43lSPoyNoMS2yIcwgk
NUQzA7P7/Rq0lhAwOvZrruvsW3PoF72imi3tdV1pKLYr6/hkrKmhx93NeTjtZ0oN
tsjBxcVK95b+Fralqs1sTTeDNIZOcUgXnYgEn6fCVN4RGa2jVygZ+LiOm948CHsP
10T0YgIOPEkNO2Rm7xhpca6+U8F4eYYLKv+u+MJl4vyhUh5xjF/1GuGH6yDUnhBv
lbxGGsHL399XJUQnme2SDEMWEeE/KAYadcUr7YnxP7OWwJad93HvaBdD5MjYRrP2
BlP5vrXQ6pU2y2araWs2vlgCGIfHj0qMUov6vj8zS/2IDekC0P8=
=nCh2
-----END PGP SIGNATURE-----

Gabriel Hondet wrote 6 years ago
[PATCH 2/9] gnu: Add ocaml-parsexp.
(address . 33986@debbugs.gnu.org)
87k1jj8n7n.fsf@gmail.com
* gnu/packages/ocaml.scm (ocaml-parsexp): New variable.
---
gnu/packages/ocaml.scm | 46 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)

Toggle diff (56 lines)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index bece14477..7876c69a7 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5130,3 +5130,49 @@ base converters")
libraries is an industrial strength alternative to OCaml's standard library
that was developed by Jane Street, the largest industrial user of OCaml.")
(license license:expat)))
+
+(define-public ocaml-parsexp
+ (package
+ (name "ocaml-parsexp")
+ (version "0.11.0")
+ (home-page "https://github.com/janestreet/parsexp")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url (string-append home-page ".git"))
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1nyq23s5igd8cf3n4qxprjvhbmb6ighb3fy5mw7hxl0mdgsw5fvz"))))
+ (build-system dune-build-system)
+ (inputs
+ `(("ocaml-sexplib0" ,ocaml-sexplib0)))
+ (synopsis "S-expression parsing library")
+ (description
+ "This library provides generic parsers for parsing S-expressions from
+strings or other medium.
+
+The library is focused on performances but still provide full generic
+parsers that can be used with strings, bigstrings, lexing buffers,
+character streams or any other sources effortlessly.
+
+It provides three different class of parsers:
+@itemize
+@item
+the normal parsers, producing [Sexp.t] or [Sexp.t list] values
+@item
+the parsers with positions, building compact position sequences so
+that one can recover original positions in order to report properly
+located errors at little cost
+@item
+the Concrete Syntax Tree parsers, produce values of type
+[Parsexp.Cst.t] which record the concrete layout of the s-expression
+syntax, including comments
+@end itemize
+
+This library is portable and doesn't provide IO functions. To read
+s-expressions from files or other external sources, you should use
+parsexp_io.")
+ (license license:expat)))
--
2.20.1
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5ercJXBcjd3P1FcAMbyBBfZZ1CUFAlwweXwACgkQMbyBBfZZ
1CX/dw//QZzcRw8rITI6Squ6sg/oKPyY4o2c/g8S3zCSWPOZFo6LkOAtlS6jeJQn
h8+j/Ii1eGR4P1jCKi2eC6DnO0EumGdSYieWPdemsXortYmG6RTw9xXohvp7YVqQ
ffbQ500ZON7+NyR92t3fE+3BfNUjmxju4vqehL693j++gamJziCrG6SNaMEKumjg
cHdceWN/+/h1/gNVsXgnXNS6khb+M3wzfpyhJZx2CU3/qTZ0HVV71XLidIC+cigt
gxmcVw+0BQpH67xN3O6Ud5QxEuWjAAgKZ/QDq8TbvbMfbdLIWLt9WATmfiYq7Q5m
QcbRlxx01dQcHtI8lBxkR7BWPbC8VIfTeERBrMWSmNdZal7IN86f20zuZaFVa9jN
MxHCfD7Q4lOuPoYt/tqRtJjKRH7vbvRBB2kTGR/rweEQjIChliarsa8iZjuDYQ2Z
GLDIcLOz1zbn4xcD0sCc17o/+1XBJyUidRxJfYiiOChdCCESc6RymN7OPOn3uvp2
UQq7yu1jvutxm/B52JPurlQQ2LEfPePDI3G8D8sCTzsfUkfwN1etm3Fus4ppKPPK
F90wjwQqAakyNmCcP2hBlQ2bsSJBGX+K3NwQzGg66fMx/MqkPQgfc/D4dsR1KWVT
kMyTn4xU+uRNc1/3TPq3oYAjNtdVF995XcnzS3n+s8BKJZa1wfU=
=6OMU
-----END PGP SIGNATURE-----

Gabriel Hondet wrote 6 years ago
[PATCH 3/9] gnu: Add ocaml-sexplib.
(address . 33986@debbugs.gnu.org)
87imz38ip0.fsf@gmail.com
* gnu/packages/ocaml.scm (ocaml-sexplib): New variable.
---
gnu/packages/ocaml.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Toggle diff (39 lines)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 7876c69a7..0faab47ee 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5176,3 +5176,32 @@ This library is portable and doesn't provide IO functions. To read
s-expressions from files or other external sources, you should use
parsexp_io.")
(license license:expat)))
+
+(define-public ocaml-sexplib
+ (package
+ (name "ocaml-sexplib")
+ (version "0.11.0")
+ (home-page "https://github.com/janestreet/sexplib")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url (string-append home-page ".git"))
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1qfl0m04rpcjvc4yw1hzh6r16jpwmap0sa9ax6zjji67dz4szpyb"))))
+ (build-system dune-build-system)
+ (inputs
+ `(("ocaml-num" ,ocaml-num)
+ ("ocaml-parsexp" ,ocaml-parsexp)
+ ("ocaml-sexplib0" ,ocaml-sexplib0)))
+ (synopsis
+ "Library for serializing OCaml values to and from S-expressions")
+ (description
+ "Part of Jane Street's Core library
+The Core suite of libraries is an industrial strength alternative to
+OCaml's standard library that was developed by Jane Street, the
+largest industrial user of OCaml.")
+ (license license:expat)))
--
2.20.1
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5ercJXBcjd3P1FcAMbyBBfZZ1CUFAlwwkFsACgkQMbyBBfZZ
1CWCnA/8DMh3bZfgC9GshUICrXhVHGL/MV4JplG6yxTcV25Xiv/eBFVjG5CQG4vd
O6mK1RS59T4u1WytVXexWQyU+hriZyEMNqJW08lqEtTZyUDDXXn0XxXzGK4CX1g7
vbti0YUMv8ieIBUze+4Tyylvb3mPQOjDH20YEku18wDJ0KSMr6NKnyygOJYqoY4f
MGuEEkgvzd0yjr/wrQpNuYd0MuMlgyRf9uIaspCyxEOkDyj0n6FQX2bDuDc4tmPn
SGGnR1IGF7S72uG/bs5k5kVDeBmWrLBmx8fNxrIv0VtUgd5+MQetE5mjbNtMIqLj
DPzddyCtBerbErLRTtXWZ347fQrCTgSfdRwOGvWngm9h2Fhb29Vqr2PUg7vemyf8
YV4WJioLLXFs5CqLTw+bA8++gs5q0JLRpp+ZFn9tdqVSKUES6YzsddOO231u2oM7
5CW0/ac8WC3pXUS3wc/fzlBGXxEJo/N3YQFP1/E8RkiF7B86Jf6OGheR3aTIqGzV
fQhc6a2saSL/UdG3NmxkOf7TM9uBKFAL3CL9QpFLc+WQHxH6XlGBVJS4iHLLqf5S
Isl1IB8ZHWYaAgcHqLV/tcx5EB80zZ3M9KW7OwCaibEyg8sip+XuWKLVJ0o/hmFK
0PYjHdqEhAxZDRqjpnV0p3q7sf+sDt+pI7WvcHEdnZEgDpDUgiU=
=Os6k
-----END PGP SIGNATURE-----

Gabriel Hondet wrote 6 years ago
[PATCH 4/9] gnu: Add ocaml-base.
(address . 33986@debbugs.gnu.org)
87h8en8im8.fsf@gmail.com
* gnu/packages/ocaml.scm (ocaml-base): New variable.
---
gnu/packages/ocaml.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)

Toggle diff (52 lines)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 0faab47ee..9e2e7e09b 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5205,3 +5205,45 @@ The Core suite of libraries is an industrial strength alternative to
OCaml's standard library that was developed by Jane Street, the
largest industrial user of OCaml.")
(license license:expat)))
+
+(define-public ocaml-base
+ (package
+ (name "ocaml-base")
+ (version "0.11.1")
+ (home-page "https://github.com/janestreet/base")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url (string-append home-page ".git"))
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0j6xb4265jr41vw4fjzak6yr8s30qrnzapnc6rl1dxy8bjai0nir"))))
+ (build-system dune-build-system)
+ (inputs
+ `(("ocaml-sexplib0" ,ocaml-sexplib0)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'build
+ ;; make warnings non fatal (jbuilder behaviour)
+ (lambda _
+ (invoke "dune" "build" "@install" "--profile=release"))))))
+ (synopsis
+ "Full standard library replacement for OCaml")
+ (description
+ "Full standard library replacement for OCaml
+
+Base is a complete and portable alternative to the OCaml standard
+library. It provides all standard functionalities one would expect
+from a language standard library. It uses consistent conventions
+across all of its module.
+
+Base aims to be usable in any context. As a result system dependent
+features such as I/O are not offered by Base. They are instead
+provided by companion libraries such as
+@url{https://github.com/janestreet/stdio, stdio}.")
+ (license license:expat)))
+
--
2.20.1
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5ercJXBcjd3P1FcAMbyBBfZZ1CUFAlwwkL8ACgkQMbyBBfZZ
1CVqxRAAq4VzCCtztfEJfr4ifEy/EPtUj81HKWbC0cdgeG/j3874yFfKna/heDyU
7b4KBOLitOIEaqLQzrQcMQeZbgR7pCt6eAR/P/5LIVe6A6ejQsC27P8Bs2c9MrGc
KTWHTtF06TapkuLZdn7V/esS8h0U4g0JATLyBXGAag9j2LKL/+lvmaAZlQZ2Ulmr
bDH1vqlTnkwk7Zu5exTGxSXMrjbEesfAsi8TI6PXt+lKvF7RHk3XvEfHeItv0ZJI
CtFLnjamHIyjVnROJNvMIMS5ZCKNvh1m3CSGv5+e1eocsMViYQoTWso5Qq8cuFKj
4oMm47O5NuuyzGprwpACXr0axy/ntIZQfhSe3X4IFwxuJxSX0udfp6sGa4hMXxVx
FwyQeb9lU3fbKy1PjAcYmt5/jdWR+IBg/0ow7Oc+enmiFk0zOUIe7Lm9qg0Vdl8i
GT63pUjhhZlDECXu0V3xH6wOzfffUasIfwl+YElkriCtb/4Zw3NOkpu1ImVEmvLF
PvlYnnsWbelnziOAdKBKIGKB+VdaW+avRldZFkBc0walTg77QDT/aWXS6FjPw9u6
kWCocpXOdkN6yeNF7SzO6FyYhMirlVHMazi47Ve3cD3O/AbJeOUNOL8mWQ8hgRmF
coC6omRJdXtYI12pKU1mm+fpeItENxWm65lXH2tLTRFoUgr9gJI=
=q6lz
-----END PGP SIGNATURE-----

Gabriel Hondet wrote 6 years ago
[PATCH 5/9] gnu: Add ocaml-compiler-libs.
(address . 33986@debbugs.gnu.org)
87ftu78ikx.fsf@gmail.com
* gnu/packages/ocaml.scm (ocaml-compiler-libs): New variable.
---
gnu/packages/ocaml.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (33 lines)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 9e2e7e09b..6f91f5d99 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5247,3 +5247,26 @@ provided by companion libraries such as
@url{https://github.com/janestreet/stdio, stdio}.")
(license license:expat)))
+(define-public ocaml-compiler-libs
+ (package
+ (name "ocaml-compiler-libs")
+ (version "0.11.0")
+ (home-page "https://github.com/janestreet/ocaml-compiler-libs")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url (string-append home-page ".git"))
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "03jds7bszh8wwpfwxb3dg0gyr1j1872wxwx1xqhry5ir0i84bg0s"))))
+ (build-system dune-build-system)
+ (arguments
+ '(#:tests? #f))
+ (synopsis "Compiler libraries repackaged")
+ (description "This packaeg simply repackages the OCaml compiler libraries
+so they don't expose everything at toplevel. For instance, @code{Ast_helper}
+is now @code{Ocaml_common.Ast_helper}.")
+ (license license:expat)))
--
2.20.1
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5ercJXBcjd3P1FcAMbyBBfZZ1CUFAlwwkO4ACgkQMbyBBfZZ
1CWI6w/9H7/bKlFNznvNyhoXS8tKvIzCUxzRNdtKrocNlAvAz5kd4Z/ppCSP+ul0
IisnhybfzZklap1Cl5aDUTEOTl2YLzE5pj3Z0TcP+eEw5wYefAvwXJuQ9S22TMy8
hVPIXkh8UmHihsQ6TzwkYXBS5YpDvZwudkY0jIYWVyDPloOHsExehHH1rkNKeoPZ
h/TglNO8W/4LCXvbgMwjA8PWQcDjmXGmRVsDh3TGXyMFutvbYjAyULFo8OeDca/K
7tMPZEVSK3JCrTO9fLIKV/E1YxNXu2+vobomfXj03sEibIKrN5CNPJ0ht7NKmMwY
qbB+di/Gcz4ioSzLvXMVxPeE0ORC1jjcgw3bqtIhl4mJhIyY5Fl/gzl9Y5m7Wvtr
LaFxRehtPmJgDYCuPDrP382hTnhKqtJbGpsOsWsFxp600ibYOa0eyCCEyxipa7K9
2Qui3gqzCTEl/gey0P73FwFsNUWD4LD8v4RZzxJTHzXrMfdAWoxdhYlMDrDUN7x/
Nb19QWvovg1LCSDgiZPpRotyw4OjPVpXw67LwemzJ6T+8PqLh797CIje8CTBaAhQ
3VHvBSntX9jfcw8xXEF8gKmFyEG2H9UD6pcrbCicldquLTo+Wk5kj7zMcdDPd157
U6X+/+xZq6I0vvjfCmG3nydrMnQxYgIF6UU/kVlv5j9/UB0Sdo0=
=IMW1
-----END PGP SIGNATURE-----

Gabriel Hondet wrote 6 years ago
[PATCH 6/9] gnu: Add ocaml-migrate-parsetree.
(address . 33986@debbugs.gnu.org)
87ef9r8ijs.fsf@gmail.com
* gnu/packages/ocaml.scm (ocaml-migrate-parsetree): New variable.
---
gnu/packages/ocaml.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 6f91f5d99..28ae9fd04 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5270,3 +5270,33 @@ provided by companion libraries such as
so they don't expose everything at toplevel. For instance, @code{Ast_helper}
is now @code{Ocaml_common.Ast_helper}.")
(license license:expat)))
+
+(define-public ocaml-migrate-parsetree
+ (package
+ (name "ocaml-migrate-parsetree")
+ (version "1.1.0")
+ (home-page "https://github.com/ocaml-ppx/ocaml-migrate-parsetree")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url (string-append home-page ".git"))
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1d2n349d1cqm3dr09mwy5m9rfd4bkkqvri5i94wknpsrr35vnrr1"))))
+ (build-system dune-build-system)
+ (inputs
+ `(("ocaml-compiler-libs" ,ocaml-compiler-libs)
+ ("ocaml-result" ,ocaml-result)))
+ (native-inputs
+ `(("ocamlbuild" ,ocamlbuild)))
+ (synopsis "Convert OCaml parsetrees between different major versions")
+ (description "This library converts between parsetrees of different OCaml
+version.
+
+Supported versions are 4.02, 4.03, 4.04, 4.05 and 4.06. For each version,
+there is a snapshot of the parsetree and conversion functions to the next
+and/or previous version.")
+ (license license:lgpl2.1+)))
--
2.20.1
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5ercJXBcjd3P1FcAMbyBBfZZ1CUFAlwwkRcACgkQMbyBBfZZ
1CXI2Q//XUW4Aq3aIw57lQy68sOSwVFMHr06kLrZry9FDEa1MUPZGbWMJohQGRKQ
AAb/W+YMJhszz3Tu4vhZ9ZS3ZdoHbCg8XkqlrNXth7p7AxVsnFTQsC77Wq64JP/z
AI708LEQTaTOHSBbNnGxWWJzMEe0uwbGWwCQnnxE/ge7pZSQ/DQRgOHIJVbUoUZ0
Dm2cy29+ENcVY3A7IyIVZAHaL4rMlXYW5Lw15h+rdMYont7GiANOHaDWeK1A5xsF
oW7BkWjtQeTyCJdBDwnOXfu87+QZd3vc8xuLyHTxf8N6DhyC4/djXyMmyLsbyU0c
O4/4htuWkjJ/Jc/wS+h/Of37JxjDSbNNfOOO1Ipdbu8LwxCy1u21aBofACDpqVjU
2LME31b9EVvaR2BcmhH9Iz/3imMkyJ9aNYEEbaE0vX57/S3233oD3kQITawgaOrh
f/esre7AvEsimSY3Yw6WFy2dUdgod5oPjDHDU6TDljfrOeq0bVgF31ewONtjpL/x
3Yz7LaEC/K6+xUyH83QQlb6fg2UfTyxXaxWUG8jiTPIqWfILaPfM7VwrsK+UAWSB
H6TgSGupK762EWuLce/FBEbxiMMAi+3x7OeT0L/Wd9kSDgVU7YK9svpa7GBnwtRy
OUaxsIRN/5yXLssDvGCVYO1T5O/gs62NAQl4FqtAJlprWUy0v6M=
=7TXm
-----END PGP SIGNATURE-----

Gabriel Hondet wrote 6 years ago
[PATCH 7/9] gnu: Add ocaml-stdio.
(address . 33986@debbugs.gnu.org)
87d0pb8iih.fsf@gmail.com
* gnu/packages/ocaml.scm (ocaml-stdio): New variable.
---
gnu/packages/ocaml.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 28ae9fd04..209aa66c3 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5300,3 +5300,31 @@ Supported versions are 4.02, 4.03, 4.04, 4.05 and 4.06. For each version,
there is a snapshot of the parsetree and conversion functions to the next
and/or previous version.")
(license license:lgpl2.1+)))
+
+(define-public ocaml-stdio
+ (package
+ (name "ocaml-stdio")
+ (version "0.11.0")
+ (home-page "https://github.com/janestreet/stdio")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url (string-append home-page ".git"))
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1facajqhvq34g2wrg368y0ajxd6lrj5b3lyzyj0jhdmraxajjcwn"))))
+ (build-system dune-build-system)
+ (inputs `(("ocaml-base" ,ocaml-base)
+ ("ocaml-sexplib0" ,ocaml-sexplib0)))
+ (arguments
+ '(#:tests? #f))
+ (synopsis "Standard IO library for OCaml")
+ (description
+ "Stdio implements simple input/output functionalities for OCaml.
+
+It re-exports the input/output functions of the OCaml standard
+libraries using a more consistent API.")
+ (license license:expat)))
--
2.20.1
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5ercJXBcjd3P1FcAMbyBBfZZ1CUFAlwwkUYACgkQMbyBBfZZ
1CU0bQ/+LR1I1aXDIHWJk1GI/2y6BmmZifoVmnZw/ZiiHOtWgw9G5BDa0fuGO0EE
M75MPP0+9N5lPp3r/5uV3hCPnMe5B+pQacOdYzzsdxZNRyIOnDpV2wBKwm1fN9A4
nNpW2vk5uRZ4q4+ulPlLyL0E+YKHl4COBbPEGfxzsSZdpjz+HDXNPMtgjzwSfURv
UtxEPwpiNqVk2mQw3z+hfW9q5haBpbiwKkPjdq3/tVa8piBZphvhLynCkrLGMC8H
HswrVehO9kAf8RGDF5sTpLJ8qz8rFacreqw8ZikOrOu44mu8Dh43OKYL6CkxetQa
MqZ8rlkR+uJDgG8v0NMeULil+hNsTIYshjetTklAQbh/kOV/dLqZywp7cgcUnar6
SmsMdJigQarmR32XIcgqDTmMUyOI89rFhULGpo3l2/EdU/dsgfKtNoALNYRdhaoB
SVr2Szsh2lVtVMameh2KT4HlhJ1swPAa3HZ5XWVApSocmspe5eWNIOOmbkzh7R6J
msoMPAw285/7xq/z/snrCN0wBucc7AqkU1GJoU7rK/cc0B6laqlW6jNlOC71csMl
JpX9SJibvVVsXNTjnyuTFsx4dWJl21laKKPwF2u5CJtp9FL77yKadnjJfmQuwA+8
QvRpTF2OBtrrUpbRZ4yhQjOnQhK8Z0/hbBSXTSFwbyrQYTeI3uk=
=bf4C
-----END PGP SIGNATURE-----

Gabriel Hondet wrote 6 years ago
[PATCH 8/9] gnu: Add ocaml-ppx-derivers.
(address . 33986@debbugs.gnu.org)
87bm4v8igz.fsf@gmail.com
* gnu/packages/ocaml.scm (ocaml-ppx-derivers): New variable.
---
gnu/packages/ocaml.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 209aa66c3..3607dc319 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5328,3 +5328,29 @@ and/or previous version.")
It re-exports the input/output functions of the OCaml standard
libraries using a more consistent API.")
(license license:expat)))
+
+(define-public ocaml-ppx-derivers
+ (package
+ (name "ocaml-ppx-derivers")
+ (version "1.2")
+ (home-page
+ "https://github.com/ocaml-ppx/ppx_derivers")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url (string-append home-page ".git"))
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0bnhihl1w31as5w2czly1v3d6pbir9inmgsjg2cj6aaj9v1dzd85"))))
+ (build-system dune-build-system)
+ (arguments
+ '(#:tests? #f))
+ (synopsis "Shared [@@deriving] plugin registry")
+ (description
+ "Ppx_derivers is a tiny package whose sole purpose is to allow
+ppx_deriving and ppx_type_conv to inter-operate gracefully when linked
+as part of the same ocaml-migrate-parsetree driver.")
+ (license license:bsd-3)))
--
2.20.1
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5ercJXBcjd3P1FcAMbyBBfZZ1CUFAlwwkXwACgkQMbyBBfZZ
1CV8vBAAmg8wlGsXqyXsYdo5DZfmus4SpEMFN1HErcGjJst8aR8BvbyXyaDfq3ZS
oAHLf1WE+cbg7DgcmhaZkmCM8Qy5fHvux3gQlXPuTtk9gWdYkz815otFGX7NTrzS
mDNl9uhglO7dNLHrAj6Tngfzgyudq2jFW/Dpt4Rmlg3WS6RUmMwXsZfJE7pN4kug
PrOWG3AaRBlFIaeeGzNJMFRex1x1+aOc6cUYvwTvREnMk8bj94WNNomzfUP/O8Ir
8W0Fnj03LWS4UsHh4gR3v9iMSjsfZzz6CRbEU70CDbl9aEPWiZboTBy/4MqukX9/
3cbgypTcm+1QD9D7GaI9+1+li8COw/NihMwsFxgdEJ+WX14KlcScsfHF2l0iZItK
RiLc8htNQ9tC++wSMgLqjU0OojEtpxAtaAEWWAaWR65wCGr8mluOuAAcdfqvHDY4
1bek39PJS7isVzGMI/zQKd8iHr2/N53fLnROMdtolETKLJoSZKiqTUJf6gKV1sdd
Qu3Eombk8V+ThfGOSvEDHVxv4E/EDstBgWkDtRwH8kfHVIGKz7pjyRrCeVwRSCEX
i9tECtn4jIoCGtydWt/M8MQGedqBzs6yyEkWBopQO9ZkGK/wHIFHzRwOaGhR5PBZ
5jPOubpCY5hVqVLZiGI5GKAgMwaVun5ewPN1UWPgZjifiefU3G8=
=MZFz
-----END PGP SIGNATURE-----

Gabriel Hondet wrote 6 years ago
[PATCH 9/9] gnu: Add ocaml-ppxlib.
(address . 33986@debbugs.gnu.org)
87a7kf8ift.fsf@gmail.com
* gnu/packages/ocaml.scm (ocaml-ppxlib): New variable.
---
gnu/packages/ocaml.scm | 66 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 66 insertions(+)

Toggle diff (76 lines)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 3607dc319..70dcf1bd7 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5354,3 +5354,69 @@ libraries using a more consistent API.")
ppx_deriving and ppx_type_conv to inter-operate gracefully when linked
as part of the same ocaml-migrate-parsetree driver.")
(license license:bsd-3)))
+
+(define-public ocaml-ppxlib
+ (package
+ (name "ocaml-ppxlib")
+ (version "0.4.0")
+ (home-page "https://github.com/ocaml-ppx/ppxlib")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url (string-append home-page ".git"))
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1nr4igf5m4prvigvv470dnhfdhdw0p6hz6zw8gnm5bzcv7s2lg5l"))))
+ (build-system dune-build-system)
+ (inputs
+ `(("ocaml-base" ,ocaml-base)
+ ("ocaml-compiler-libs" ,ocaml-compiler-libs)
+ ("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree)
+ ("ocaml-ppx-derivers" ,ocaml-ppx-derivers)
+ ("ocaml-stdio" ,ocaml-stdio)
+ ("ocaml-result" ,ocaml-result)
+ ("ocaml-sexplib0" ,ocaml-sexplib0)))
+ (native-inputs
+ `(("ocaml-findlib" ,ocaml-findlib)))
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'set-topfind
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; add the line #directory ".." at the top of each file
+ ;; using #use "topfind";; to be able to find topfind
+ (let* ((findlib-path (assoc-ref inputs "ocaml-findlib"))
+ (findlib-libdir
+ (string-append findlib-path "/lib/ocaml/site-lib")))
+ (substitute* '("test/base/test.ml"
+ "test/deriving/test.ml"
+ "test/driver/attributes/test.ml"
+ "test/driver/non-compressible-suffix/test.ml"
+ "test/driver/transformations/test.ml")
+ (("#use \"topfind\";;" all)
+ (string-append "#directory \"" findlib-libdir "\"\n"
+ all))))
+ #t)))))
+ (synopsis
+ "Base library and tools for ppx rewriters")
+ (description
+ "A comprehensive toolbox for ppx development. It features:
+@itemize
+@item
+a OCaml AST / parser / pretty-printer snapshot, to create a full frontend
+independent of the version of OCaml;
+@item
+a library for library for ppx rewriters in general, and type-driven code
+generators in particular;
+@item
+a feature-full driver for OCaml AST transformers;
+@item
+a quotation mechanism allowing to write values representing the
+OCaml AST in the OCaml syntax;
+@item
+a generator of open recursion classes from type definitions.
+@end itemize")
+ (license license:expat)))
--
2.20.1
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5ercJXBcjd3P1FcAMbyBBfZZ1CUFAlwwkaYACgkQMbyBBfZZ
1CU1OA/+OiENLrXVOZu5XLFoaBd9tHXVc7wDwB8WmW+YknjdaXzuX7XFBOjcVcK4
ITtNusN8oRkSlWVCwjjxtEgoVhySwWdOHX6Pxh41CzmojeMhVIzFK5/QNrnDgkOO
CNH8TY2qYTnerXy5i2YsOO3IFXLZS05ovYvpnDJgqVN/v81qZRLwlbOrcMhE/fMh
dFgd1R4ZFvCVgqLD9aWg8Bn+slTXL8gt24jAuDifRRxDQnDcWQp02ZV+TTlolwEo
DH3395c4o7PGgP8OdJ500+Y248TxFtvdxIvmMpQEGs95ivSSWbcZCWbZcNrNun87
yPU5AWMC4GOONtAfmsxupWT+hr0+mA6Dewcy09XinIxrDoWrgUWc/OnQsbYpvxYI
awniHZGBL6zTTcgmKxHJhVttQQsvNy05UIyEKC9dk2OsH4yNVeGMJBYm9o6aQ174
dYJQ0YhpnMulQrTNElojEnP8IPSuv1QKgdKmrk+0ClXvxIqjwwjcJ3nxMLL4jjrT
EYfn70r0859xIReYfVZjCqQ1rViLhDV64dRMZU5j8XHZBVYoaS6KuLw6ZhPOB01/
eANfJnrHv1LWvLtpEoj/GOXLICnFQGsD4ZUkHKVKP564ZrMEU+bjIUG4r6z+sXF/
RSIV6So5goKHT80S4wtY1zErx2W8hpJF1xw62a0vqCFbDRlAzeQ=
=aK02
-----END PGP SIGNATURE-----

Julien Lepiller wrote 6 years ago
Re: [bug#33986] [PATCH 1/9] gnu: Add ocaml-sexplib0.
6B48181E-452B-4D22-80B1-DAECAE104B48@lepiller.eu
Le 3 janvier 2019 10:18:32 GMT+03:00, Gabriel Hondet <gabrielhondet@gmail.com> a écrit :
Toggle quote (45 lines)
>
>* gnu/packages/ocaml.scm (ocaml-sexplib0): 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 e4f17133d..bece14477 100644
>--- a/gnu/packages/ocaml.scm
>+++ b/gnu/packages/ocaml.scm
>@@ -5105,3 +5105,28 @@ speedup, polymorphic variants and optional
>syntax for tuples and variants.
>yojson package. The program @code{atdgen} can be used to derive
>OCaml-JSON
> serializers and deserializers from type definitions.")
> (license license:bsd-3)))
>+
>+(define-public ocaml-sexplib0
>+ (package
>+ (name "ocaml-sexplib0")
>+ (version "0.11.0")
>+ (home-page "https://github.com/janestreet/sexplib0")
>+ (source
>+ (origin
>+ (method git-fetch)
>+ (uri (git-reference
>+ (url (string-append home-page ".git"))
>+ (commit (string-append "v" version))))
>+ (file-name (git-file-name name version))
>+ (sha256
>+ (base32
>+ "07v3ggyss7xhfv14bjk1n87sr42iqwj4cgjiv2lcdfkqk49i2bmi"))))
>+ (build-system dune-build-system)
>+ (arguments
>+ '(#:tests? #f))
>+ (synopsis "Library containing the definition of S-expressions and
>some
>+base converters")
>+ (description "Part of Jane Street's Core library The Core suite of
>+libraries is an industrial strength alternative to OCaml's standard
>library
>+that was developed by Jane Street, the largest industrial user of
>OCaml.")
>+(license license:expat)))

Hi Gabriel, thank you for these patches! I'll need a bit more time to review them because I'm travelling. We already have them, but I think they are only for ocaml-4.02.

In the meantime, could you add a comment to explain why you disabled tests whenever you did? It could be as short as "; no tests". Also, do you know what happened with the versionning?
Gabriel Hondet wrote 6 years ago
(name . Julien Lepiller)(address . julien@lepiller.eu)(address . 33986@debbugs.gnu.org)
877efj83iv.fsf@gmail.com
On Sat 05 Jan 2019 at 14:22 Julien Lepiller wrote:

Toggle quote (2 lines)
> We already have them, but I think they are only for ocaml-4.02.

Indeed they exist but only for ocaml-4.02, I hope doing new patches for
the current version was the right thing to do.

Toggle quote (2 lines)
> In the meantime, could you add a comment to explain why you disabled tests whenever you did? It could be as short as "; no tests". Also, do you know what happened with the versionning?

Regarding the test, I only disabled them if they don't exist. I have
added comments to clarify that. Regarding the versioning number
(113.33.xx in 2016 to 0.9.0 in 2017...), I have no idea what happened.

Here is the first patch, the others are following.

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

Toggle diff (35 lines)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index e4f17133d..a23f6a724 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5105,3 +5105,28 @@ speedup, polymorphic variants and optional syntax for tuples and variants.
yojson package. The program @code{atdgen} can be used to derive OCaml-JSON
serializers and deserializers from type definitions.")
(license license:bsd-3)))
+
+(define-public ocaml-sexplib0
+ (package
+ (name "ocaml-sexplib0")
+ (version "0.11.0")
+ (home-page "https://github.com/janestreet/sexplib0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url (string-append home-page ".git"))
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "07v3ggyss7xhfv14bjk1n87sr42iqwj4cgjiv2lcdfkqk49i2bmi"))))
+ (build-system dune-build-system)
+ (arguments
+ '(#:tests? #f)) ;no tests
+ (synopsis "Library containing the definition of S-expressions and some
+base converters")
+ (description "Part of Jane Street's Core library The Core suite of
+libraries is an industrial strength alternative to OCaml's standard library
+that was developed by Jane Street, the largest industrial user of OCaml.")
+(license license:expat)))
--
2.20.1
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5ercJXBcjd3P1FcAMbyBBfZZ1CUFAlww3SgACgkQMbyBBfZZ
1CXFRw//Ul5lJmc6dxRl2Fi8Z7EEAY2VnsL6PXcn4SpkRawqluh1gU+F2OiTM3iA
m/qQyWzbqYS8pLFAuN3nB5mWV2mLN/FPTEZyZ4J+c7ul9m3iqTyZj09ak9q5e6Ha
cbyhiYT8kN7Ov7Td5mjVT0d/xniuCk6hpVR94whDTVYS07F33SBtCbEK70dOHx6d
er3tb1xShqyJJUZ604lk4sZazQw2itoY3QJmhhw1FRP85RaFSO42G0PoIWN/+TJA
YpUUDvBrhth1ulzOjcVfJiCt4ceJVTQnJcOTP0fYo0GgXahkHBXX9WwgLPY+WHtw
ZcIpOxDT5kFdG5VcdqohPkLqgqtOYfPIVD0ntrG7WswOYf8FLXfAlh8um1ZMacor
9AVewaatrfXiNvMSRTPxrr/Xg657uZ/xLn8MdV5Ey58sZ8QzGGnBZrcmby/KYqWO
LHNoJcMhsn+scw710yfsP8W4nwqZx8gWkS+0Y31obxoZ7vYEvvO24PVWVY/rzA1G
1N3ch7uF0UR4OsGw8pWlwdxWvsZHakdithZwq6r4dbcOofjITwPn3tX3Eg+ZMCUp
nGapSCR+iL/hHxkC4OW1h9E+1nTkpzsTDw9Zqbh7zewt+OLoBrdFzIkVOX7eGPYD
l5rUlwc++pWGvmStlMRE/QeanABe5Y3tomMV07+4zSLdLZsoEYA=
=y1No
-----END PGP SIGNATURE-----

Gabriel Hondet wrote 6 years ago
Re: [bug#33986] [PATCH 5/9] gnu: Add ocaml-sexplib0.
(name . Julien Lepiller)(address . julien@lepiller.eu)(address . 33986@debbugs.gnu.org)
875zv383go.fsf@gmail.com
* gnu/packages/ocaml.scm (ocaml-compiler-libs): New variable.
---
gnu/packages/ocaml.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (33 lines)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index c52cd76a3..820e87f22 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5247,3 +5247,26 @@ provided by companion libraries such as
@url{https://github.com/janestreet/stdio, stdio}.")
(license license:expat)))
+(define-public ocaml-compiler-libs
+ (package
+ (name "ocaml-compiler-libs")
+ (version "0.11.0")
+ (home-page "https://github.com/janestreet/ocaml-compiler-libs")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url (string-append home-page ".git"))
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "03jds7bszh8wwpfwxb3dg0gyr1j1872wxwx1xqhry5ir0i84bg0s"))))
+ (build-system dune-build-system)
+ (arguments
+ '(#:tests? #f)) ;no tests
+ (synopsis "Compiler libraries repackaged")
+ (description "This packaeg simply repackages the OCaml compiler libraries
+so they don't expose everything at toplevel. For instance, @code{Ast_helper}
+is now @code{Ocaml_common.Ast_helper}.")
+ (license license:expat)))
--
2.20.1
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5ercJXBcjd3P1FcAMbyBBfZZ1CUFAlww3XcACgkQMbyBBfZZ
1CURpg//asmZNOzTmByvVEbuZ4Nz8jao4C5a4obDUvkaYQQ+BmLzt/tHFmX2HRBR
PbziY5iZWxqg255SISCYvHU8rgfbBttl5JPC2zwK2EN5wKHgGOiyCllUfbziz+lb
Mzay2qUTUNEzw0RThu24tph6UIweqhb9E0mUS4m+zIwtjHoQdRErWURZY+pnXvD0
xhdj1NigAe/eeCicXeP3enSSmrvLnAPcz0oBBmkCrnpExBFg5OPhBpKNoK3Kyv26
2ieoU1chr1tAVmAUUfwc5Fcai0vz/pDGlB3viC4Y53Lwz2cTOiVC56HwY6fVZtbJ
85wd/HAHs1JL9eKiyqyol/Mo83wtlUkMbkeOplHp5eLsYa1kOhVWz52jmrpyJE6N
BLHCBFfP9Rxq2DSLMcAnOjn5NnSr/6glaC45SjyOW5WiL5pOr6zTIs+KsIR8hf/G
Ujhgn2Ws5ZpT1E/v7I2lESZSRC7NsNcLoidIwyu4qYbDv5AplhbScs3sq4G2u5GF
p7ZBu5KM4HLk7ydprQavpulD4OMTLkdRvQrM++7wJ//szMRnsO9cbFCAYKzUWRc9
DcBTDQuJ2GST73HuIIRLWS/cmjrRooShDhPTkNtGiB7Za7yKNI0gqnyYQmAhBuYC
kJU/Gxhiz2UpHvIGaIdOpsQ3RPf8sIrz9yalIabT8IEqs3359ko=
=1LP9
-----END PGP SIGNATURE-----

Gabriel Hondet wrote 6 years ago
Re: [bug#33986] [PATCH 7/9] gnu: Add ocaml-sexplib0.
(name . Julien Lepiller)(address . julien@lepiller.eu)(address . 33986@debbugs.gnu.org)
874lan83ea.fsf@gmail.com
* gnu/packages/ocaml.scm (ocaml-stdio): New variable.
---
gnu/packages/ocaml.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index bce2f4f13..dddad4f33 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5300,3 +5300,31 @@ Supported versions are 4.02, 4.03, 4.04, 4.05 and 4.06. For each version,
there is a snapshot of the parsetree and conversion functions to the next
and/or previous version.")
(license license:lgpl2.1+)))
+
+(define-public ocaml-stdio
+ (package
+ (name "ocaml-stdio")
+ (version "0.11.0")
+ (home-page "https://github.com/janestreet/stdio")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url (string-append home-page ".git"))
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1facajqhvq34g2wrg368y0ajxd6lrj5b3lyzyj0jhdmraxajjcwn"))))
+ (build-system dune-build-system)
+ (inputs `(("ocaml-base" ,ocaml-base)
+ ("ocaml-sexplib0" ,ocaml-sexplib0)))
+ (arguments
+ '(#:tests? #f)) ;no tests
+ (synopsis "Standard IO library for OCaml")
+ (description
+ "Stdio implements simple input/output functionalities for OCaml.
+
+It re-exports the input/output functions of the OCaml standard
+libraries using a more consistent API.")
+ (license license:expat)))
--
2.20.1
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5ercJXBcjd3P1FcAMbyBBfZZ1CUFAlww3c0ACgkQMbyBBfZZ
1CWb7w/8CYW8mrcFrBLOcwMD2G3yWBOtb+63rRokQ9+G2x0tl5i+ksipRVdAkS0P
jbameF2RGpSvGahMRuwBIeIND/SKXCwsT9Rx7guIahg4y1RijP6oJpx34BAi3DTF
6N8Ihgor/Kaw/96yybKTzyG409EfWHV73lE4+RjEuK0p6erRp4rb99BTQ3SVKtUO
GTxquw1TaWamIt6dE3977b7HRBwNnDb8wB/WPxoDkZOPt3nG6EcB4STOk5vgJBCE
6hzVhCC22D09CooGDbAmpaFuBvbmvy3tMiDk0VZ4XRuUR9gyhCOJoZANuLCDOFwZ
6X2o0Z4fZmby/UiY16qJsGUVcZaQFcetGxEhthknvvA4RBIKSXJZWY3SdkQ3AO6j
0y8mniVTwB8XggHwyJ8U3GJB5xZ9KknGTtmTD5YGtnrbAK9mnlCy2Ft5D8S9huJj
cHR7hizPkBbX30ANHJgnKeIoPz2SywoQLIrTuBRrKA9uneOzCRwJxI8fgztB9IkN
30VyZX6EdLFlKBqkoG2apS8cd9ytynm1U5EXc11j5VNY/Y+u8kERg42fzHydpJ1h
UOEei9fL/7e7gGPBNtOHax1Hh29Xa2ZqwTv4ge3hnHGVSP7REvn6YkYTHLN+VyMD
F+Hzc0FwkBR+6mDgo6VD1ftGlEpMYEO8pdLz797+MRCdjQCEvFs=
=3MJs
-----END PGP SIGNATURE-----

Gabriel Hondet wrote 6 years ago
Re: [bug#33986] [PATCH 8/9] gnu: Add ocaml-ppx-derivers.
(name . Julien Lepiller)(address . julien@lepiller.eu)(address . 33986@debbugs.gnu.org)
8736q78369.fsf@gmail.com
* gnu/packages/ocaml.scm (ocaml-ppx-derivers): New variable.
---
gnu/packages/ocaml.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (44 lines)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index dddad4f33..04b6dea8f 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5328,3 +5328,29 @@ and/or previous version.")
It re-exports the input/output functions of the OCaml standard
libraries using a more consistent API.")
(license license:expat)))
+
+(define-public ocaml-ppx-derivers
+ (package
+ (name "ocaml-ppx-derivers")
+ (version "1.2")
+ (home-page
+ "https://github.com/ocaml-ppx/ppx_derivers")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url (string-append home-page ".git"))
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0bnhihl1w31as5w2czly1v3d6pbir9inmgsjg2cj6aaj9v1dzd85"))))
+ (build-system dune-build-system)
+ (arguments
+ '(#:tests? #f)) ;no tests
+ (synopsis "Shared [@@deriving] plugin registry")
+ (description
+ "Ppx_derivers is a tiny package whose sole purpose is to allow
+ppx_deriving and ppx_type_conv to inter-operate gracefully when linked
+as part of the same ocaml-migrate-parsetree driver.")
+ (license license:bsd-3)))
--
2.20.1

This is the last one. And forgive me for the misleading subjects of the
previous patches, it should have been
+ Re: [bug#33986] [PATCH 5/9] gnu: Add ocaml-compiler-libs
+ Re: [bug#33986] [PATCH 7/9] gnu: Add ocaml-stdio
Thank you!
Gabriel
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5ercJXBcjd3P1FcAMbyBBfZZ1CUFAlww3u4ACgkQMbyBBfZZ
1CXE6A//dhh+GLKGz/GNRCXPexsU8qk+xAH899ln/ahD4n+/ZQFSzzRWRCXTgyar
BiH5dXOsRJOQYxCN0cumBQntiYCDrQzv2jgLFxpcT/dmdEh/C/Cb5+UvUxyZ91n+
I4WrF+PSEKVUeSW4D3FuTKvErtYdjPp5fDUfchUiOEr2jU+/bVq1PsYVFehGbgjQ
wsikyQT5CQ5iYSz+/xawMHK+7JEScgCX7uBcdsP0TPAJ52G7ee8vEIFiO7QSPoEG
i2XGDdJrT8Ul1PtJ8qVPOB/4htJoutlrIb4ySCQs1H3trTXjavusmivypcSt8P23
lkjr9dkdN5S3Lh7/rqjbmxlei8Cz8fnSatfQL2gNbuFWVSpcLvVo1i/SLjgrkPTj
1jhMExa+m30Zz8eUH3cjby0dFyEPlO2gq6hkx8BL0RLdoC/4/AQwTZbKC8W+zcRQ
pl0/YKe69xRva6nOX8f4FHQ/yk+ZMNmN2H5Uc3xvfTWv8DoesLRZcP/YUFDYZMQ3
w4plz2d+xCICQdb82NGtTQQg513hG4EwGnGkUuKEKuGJO+ZI0HKqpQA2WUZbxfbq
exnlA7oSeOUBNBfsW+UXlS0T++MphYWpNqdqtupz05sEDsDkuRsB+Jjfih1b2r1i
R/Z4tv5LpOXaFErzEk59McLxxCLKn8io18THFrqcfeSxRb3mjl8=
=ftXK
-----END PGP SIGNATURE-----

Julien Lepiller wrote 6 years ago
Re: [bug#33986] [PATCH 1/9] gnu: Add ocaml-sexplib0.
(address . 33986-done@debbugs.gnu.org)
20190116201129.32c64fa3@lepiller.eu
Finally pushed as a41bca08e27da0d4db176c8fadf21e278af4a2b6 -
4d390cad2510797a68f473db347699e748c92e42.

Sorry for taking so long! I've removed ocaml-parsetree-migrate because
it was already present in guix. I've also slightly modified the
descriptions (adding a dot or making the first sentence a full sentence
in some packages). Otherwise, they were very good, thank you!
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEtfrmKFtBNyiyoPrtQxEfRSAIagwFAlw/geEACgkQQxEfRSAI
agzF0Q/+IYfhdLN03FqQP0HrVfwpa7Z90Qjes7ZdhozFQXylXW6BO4pcOn0b3X/9
ltzoYomn8JCrHeq2vBokL55KZ+R663sWREX9hBFa5PwRK2CfgAw5qC17Gc7FnBzH
yxMhH4lUXi6lWCbiCFluKlvjBh4C9apVHA9x2qUbibsBHZVAvZgk6ajCzPDVvQP+
rTP54CUlU1X6VL4b+pzygaXfIJ8Kedu1bajvygRmTSEnsCVJM1Pct++nMnccbaKN
HF3Vr1PCRuYaZipEBjbc/iXqWowzpp1SOLpXJsDs8fioH3bg3omHroLIQkG2Qito
DJL+3Gpmfraa+3ltkQEs8MbnXKS3qHxxTjq3htxebzr9fcdVR1jK80Hz+SKCVDwR
zH0N6LAATvFA/eNq4XhtJTTDvJN8iaTfpHxsCODuansj6jth+XY3PscHFmfKaKeK
dEanxULS02MPuvvJl9kbojn/EFbtvSv5iO3j0oPabXiYXtv8SBA5XSjDXABnTg9h
6IfUIlN7TyqxXKxWUL5uHvE8ISlVvMWXnLAPI2h1qTNcTkslvXIseaS4UHkP++6J
1xVXKRqgr///ZeMiauNkFuWXKT3HknVTns6icv3EV/ZtEi2yEOHniZo4ML4Qou94
uYmNaI1PDGjZSUEdqluVk6GUGu9eQKDCwEcGWK/Tz0rmA/NrCc0=
=Ntcn
-----END PGP SIGNATURE-----


Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 33986@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 33986
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help