From patchwork Thu Jan 3 09:48:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Hondet X-Patchwork-Id: 672 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 E802316A0B; Sat, 5 Jan 2019 11:14:11 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 943DE16A0A for ; Sat, 5 Jan 2019 11:14:11 +0000 (GMT) Received: from localhost ([127.0.0.1]:53163 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfju7-0005Fp-75 for patchwork@mira.cbaines.net; Sat, 05 Jan 2019 06:14:11 -0500 Received: from eggsout.gnu.org ([209.51.188.92]:43220 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfju1-0005FY-JR for guix-patches@gnu.org; Sat, 05 Jan 2019 06:14:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfjty-0004H9-G6 for guix-patches@gnu.org; Sat, 05 Jan 2019 06:14:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:53882) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gfjty-0004H1-Bx for guix-patches@gnu.org; Sat, 05 Jan 2019 06:14:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gfjty-0006kv-5a for guix-patches@gnu.org; Sat, 05 Jan 2019 06:14:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33986] [PATCH 7/9] gnu: Add ocaml-stdio. 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:14: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.154668679925906 (code B ref 33986); Sat, 05 Jan 2019 11:14:02 +0000 Received: (at 33986) by debbugs.gnu.org; 5 Jan 2019 11:13:19 +0000 Received: from localhost ([127.0.0.1]:47294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfjtG-0006jm-Ry for submit@debbugs.gnu.org; Sat, 05 Jan 2019 06:13:19 -0500 Received: from mail-ed1-f54.google.com ([209.85.208.54]:39364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfjtF-0006jX-KN for 33986@debbugs.gnu.org; Sat, 05 Jan 2019 06:13:17 -0500 Received: by mail-ed1-f54.google.com with SMTP id b14so33829398edt.6 for <33986@debbugs.gnu.org>; Sat, 05 Jan 2019 03:13:17 -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=K8AdM42SCPmRmDmyqtX7FIpzBQ85I1PGt6oJT8w65Ew=; b=Nc0l79bmFe5e2AuJL8ZmcChGzEfmyesVAl69qX1vby7o9FEXH1iyiW1h19nEM9JrmS yRSmKRnv2CiL4GCfCrW1gn+ldZgm6+Awod/jGuJL+Vy+5KjxLq//PRzkjmSjn+co5WE7 ZRJneN7PnNYP2ACHlWD+GfaxJb/slkrjOnMEk+rNKicvuEY9heD+rHFVE1TlzshDjd/J 4ZXEPOWjz3AQT4ljvbRHkFdzrmog07H+nStx7f8d3Lz1dJHte4hsQWo+uVkPlxgjzxn8 a4otNw6bi5wyDOCed5wY5+eGwot9dR6kDW50M7djXPMbWsKS1lqQ445dOzgMLi3C/4wo rFOw== 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=K8AdM42SCPmRmDmyqtX7FIpzBQ85I1PGt6oJT8w65Ew=; b=owxbm8KjfdWwr/QuK2k3Hqm47BWr+0LJCBusYCj183xgnjX6IVHcjwtfpaeS3SGWpm IBOhcN5n4TRy52Jz46U+WiNLr26MFMR78o6VoUm6rBvAbQ1TcY0rKStwMoD3Fr4P8JFB mWflVIGktLsyHdajQN+aIP5VRTXIfWVpkq0Gw3GmIB5WqntGENTD+Z2IMwELGnZTH/Gl 6zLc1CoX2wM9DBeAHuXaLy+L/MCT6Kr0Tqv1jlhztuNIt4kZef2l7mU0nL3q5bvYfARw KWIHGDMQbg+TXGfw9xuJX4tUEtO/RyURbM8XQ6+dFIzSrJo+KuDDcxZ3+/xZImgJArkO rnzg== X-Gm-Message-State: AA+aEWZom0Aoxi3ec/p36meULZb9bnksKyTaf5rh6PP5mjVWTVrRFfOk oHfRO9jzEujVQRnKSl2hzCIm4p3k X-Google-Smtp-Source: AFSGD/WSGnofp6b4ky5TNG8BM78Es21UJ1gNiW4ZVWkzEZBYBX44ZyXVe2KOVYcmm2PiaDYHDxfUCQ== X-Received: by 2002:a50:9a42:: with SMTP id o60mr50571336edb.180.1546686791756; Sat, 05 Jan 2019 03:13:11 -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 c23-v6sm16316841ejb.62.2019.01.05.03.13.10 for <33986@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 05 Jan 2019 03:13:11 -0800 (PST) User-agent: mu4e 1.0; emacs 26.1 From: Gabriel Hondet Date: Thu, 3 Jan 2019 10:48:28 +0100 Message-ID: <87d0pb8iih.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-stdio): New variable. --- gnu/packages/ocaml.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) 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)))