From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggsout.gnu.org ([209.51.188.92]:37659 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfoxZ-0000dY-M0 for guix-patches@gnu.org; Sat, 05 Jan 2019 11:38:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfoxW-0005tv-FE for guix-patches@gnu.org; Sat, 05 Jan 2019 11:38:05 -0500 Received: from debbugsout.gnu.org ([209.51.188.43]:50086) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gfoxW-0005tV-AS for guix-patches@gnu.org; Sat, 05 Jan 2019 11:38:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gfoxW-000266-18 for guix-patches@gnu.org; Sat, 05 Jan 2019 11:38:02 -0500 Subject: [bug#33986] [PATCH 1/9] gnu: Add ocaml-sexplib0. Resent-Message-ID: References: <87lg3z8nc2.fsf@gmail.com> <6B48181E-452B-4D22-80B1-DAECAE104B48@lepiller.eu> From: Gabriel Hondet In-reply-to: <6B48181E-452B-4D22-80B1-DAECAE104B48@lepiller.eu> Date: Sat, 05 Jan 2019 17:36:56 +0100 Message-ID: <877efj83iv.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Julien Lepiller Cc: 33986@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat 05 Jan 2019 at 14:22 Julien Lepiller wrote: > 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. > In the meantime, could you add a comment to explain why you disabled test= s 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. =2D-- gnu/packages/ocaml.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index e4f17133d..a23f6a724 100644 =2D-- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -5105,3 +5105,28 @@ speedup, polymorphic variants and optional syntax fo= r 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))) =2D-=20 2.20.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----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----- --=-=-=--