From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggsout.gnu.org ([209.51.188.92]:42708 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfjs5-0004l1-TT for guix-patches@gnu.org; Sat, 05 Jan 2019 06:12:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfjs2-0002GI-Ps for guix-patches@gnu.org; Sat, 05 Jan 2019 06:12:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:55160) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gfjs2-0002G7-LT for guix-patches@gnu.org; Sat, 05 Jan 2019 06:12:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gfjs2-0006hL-Ec for guix-patches@gnu.org; Sat, 05 Jan 2019 06:12:02 -0500 Subject: [bug#33986] [PATCH 4/9] gnu: Add ocaml-base. References: <87lg3z8nc2.fsf@gmail.com> In-Reply-To: <87lg3z8nc2.fsf@gmail.com> Resent-Message-ID: From: Gabriel Hondet Date: Thu, 3 Jan 2019 09:43:49 +0100 Message-ID: <87h8en8im8.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: 33986@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable * gnu/packages/ocaml.scm (ocaml-base): New variable. =2D-- gnu/packages/ocaml.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 0faab47ee..9e2e7e09b 100644 =2D-- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -5205,3 +5205,45 @@ The Core suite of libraries is an industrial strengt= h 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=3Drelease")))))) + (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))) + =2D-=20 2.20.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----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----- --=-=-=--