From patchwork Thu Jan 3 08:43:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Hondet X-Patchwork-Id: 670 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 307BF16A0B; Sat, 5 Jan 2019 11:12:14 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from listsout.gnu.org (listsout.gnu.org [208.118.235.17]) by mira.cbaines.net (Postfix) with ESMTP id BDFE0169C4 for ; Sat, 5 Jan 2019 11:12:13 +0000 (GMT) Received: from localhost ([127.0.0.1]:52634 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfjsD-0004lU-BJ for patchwork@mira.cbaines.net; Sat, 05 Jan 2019 06:12:13 -0500 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 X-Loop: help-debbugs@gnu.org Subject: [bug#33986] [PATCH 4/9] gnu: Add ocaml-base. References: <87lg3z8nc2.fsf@gmail.com> In-Reply-To: <87lg3z8nc2.fsf@gmail.com> Resent-From: Gabriel Hondet Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Jan 2019 11:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33986 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33986@debbugs.gnu.org Received: via spool by 33986-submit@debbugs.gnu.org id=B33986.154668666425665 (code B ref 33986); Sat, 05 Jan 2019 11:12:02 +0000 Received: (at 33986) by debbugs.gnu.org; 5 Jan 2019 11:11:04 +0000 Received: from localhost ([127.0.0.1]:47285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfjr6-0006ft-Ax for submit@debbugs.gnu.org; Sat, 05 Jan 2019 06:11:04 -0500 Received: from mail-ed1-f42.google.com ([209.85.208.42]:33328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfjr4-0006fP-Ox for 33986@debbugs.gnu.org; Sat, 05 Jan 2019 06:11:03 -0500 Received: by mail-ed1-f42.google.com with SMTP id p6so33929063eds.0 for <33986@debbugs.gnu.org>; Sat, 05 Jan 2019 03:11:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=X+p6DyLDf1lm0YK/bgE0IOG5NW3AyXMgSj7m/8qrc/M=; b=stInaBQHyajz2/LQP/UVGu3jpCTSn08IWkchSNq9R/ZHX9pJCImVFxMPkQFHJnLFcy ZX6U6DFF7NHlwiM/l9ll5E7yqDdVpLtbZd9L3tt91u8M2i5BAZPLM8WwK6B6XEeF5fo8 V+DpmENkfndzd1jjMdWH7bOqX3dVwn6z28jZklQZkBaiU3CjmvV73Ye2AkqlxkUkDZMz ogvYhKE/dB07L63kbIODn68xEF06lALMPs7ayrD+9fq8YsfV2bS4x1TzBrgyGkPjkYcd VVM4KKkjkPI1UnGIYiEE5hj/3pudOrOQpNg/cNJX2M6jhcnuiKo/cJcE5pXuXQ/7Bdva PY8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=X+p6DyLDf1lm0YK/bgE0IOG5NW3AyXMgSj7m/8qrc/M=; b=BzXXJS4VpjK8M8F81UwFkXpapvKEJC74nB+6IeEgf1ar8DQMj0QHPg3oSsloRQx2kH ga16TJ/H1L8lP5rHOqj+LsrGNquNZu+5zA4Lni9DUKh2spYcVcLIp890e3+/qsW9xWia eNyUxep4vpdCW9cU1pwPyiBhcClCU8O/VhKTRL3dJsX+MbQh7NFTHaSqczA2IGj8NqVw shUiofwB3nyHoVNeIaWlm/Vk7f6Klb4yc2pCBwGu6iYwWqFl5Vh9wkKdtqO1mwm8msw0 GgxYIIRiStIAstn9Rkm0CvgAZe450iQR2z6UdueSfusjkBlsZjWGI7ZvDyJP1aCelrbe 4gWw== X-Gm-Message-State: AA+aEWbSAm8UPLQBC9w24GhR+elVs2wRqA08yIbXBuvE0/MFXYP5wtBh 3ERscMbu7Q+Qx6To5KurEc+ttEUy X-Google-Smtp-Source: AFSGD/WXbrkB+QFGSdu7yaRwT6rR/jryVYNPpvqURB3sc4WuzeKkaV5j0wRdDgFXoEf15sF77sk0EA== X-Received: by 2002:a17:906:6dcb:: with SMTP id j11-v6mr41590548ejt.162.1546686656666; Sat, 05 Jan 2019 03:10:56 -0800 (PST) Received: from glht-x240.gmail.com (2a01cb04062c860044e3e8429e102378.ipv6.abo.wanadoo.fr. [2a01:cb04:62c:8600:44e3:e842:9e10:2378]) by smtp.gmail.com with ESMTPSA id p7-v6sm15441768ejx.27.2019.01.05.03.10.55 for <33986@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 05 Jan 2019 03:10:56 -0800 (PST) User-agent: mu4e 1.0; emacs 26.1 From: Gabriel Hondet Date: Thu, 3 Jan 2019 09:43:49 +0100 Message-ID: <87h8en8im8.fsf@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ocaml.scm (ocaml-base): New variable. --- 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 --- 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))) +