From patchwork Sat Jan 5 16:39:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Hondet X-Patchwork-Id: 679 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 93B9616A10; Sat, 5 Jan 2019 16:40:10 +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=ham 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 1619416A0A for ; Sat, 5 Jan 2019 16:40:10 +0000 (GMT) Received: from localhost ([127.0.0.1]:36924 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfozZ-0001oS-MO for patchwork@mira.cbaines.net; Sat, 05 Jan 2019 11:40:09 -0500 Received: from eggsout.gnu.org ([209.51.188.92]:38040 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfozW-0001nB-H4 for guix-patches@gnu.org; Sat, 05 Jan 2019 11:40:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfozS-0007Gq-Eb for guix-patches@gnu.org; Sat, 05 Jan 2019 11:40:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:33378) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gfozS-0007Ge-Aw for guix-patches@gnu.org; Sat, 05 Jan 2019 11:40:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gfozS-00029e-6D for guix-patches@gnu.org; Sat, 05 Jan 2019 11:40:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33986] [PATCH 7/9] gnu: Add ocaml-sexplib0. Resent-From: Gabriel Hondet Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Jan 2019 16:40: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: Julien Lepiller Received: via spool by 33986-submit@debbugs.gnu.org id=B33986.15467063908258 (code B ref 33986); Sat, 05 Jan 2019 16:40:02 +0000 Received: (at 33986) by debbugs.gnu.org; 5 Jan 2019 16:39:50 +0000 Received: from localhost ([127.0.0.1]:48022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfozG-000298-AZ for submit@debbugs.gnu.org; Sat, 05 Jan 2019 11:39:50 -0500 Received: from mail-ed1-f43.google.com ([209.85.208.43]:33207) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfozE-00028p-DA for 33986@debbugs.gnu.org; Sat, 05 Jan 2019 11:39:48 -0500 Received: by mail-ed1-f43.google.com with SMTP id p6so34374955eds.0 for <33986@debbugs.gnu.org>; Sat, 05 Jan 2019 08:39:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=PgbfP1MtTzIsjhA+QdAJgHz7Zb9cB4DN0iGjCc2hVWQ=; b=AHq0FMFYMKJrpp32aIFLcZ9ofoDV/sIjVMgl+bdbSzMqPJ1fZMWYwZjxdXI2a0S/VV pot8Jp9vYF5vM9OpHP4wydrdj4a5AEiHK6BQaLHiQDjrl4HmqkFXLU4+sSS+ojYJLVov RGTbDsCtXaQnj4TcnNl8MMj68gJszq+JLijW6g+9CXXJvHl+2FaO9DQSIk1aFAAwkyoF j3JAe+njZrPfMuUb4FfCxUdzbrR4CxmugmI1f4T72Jm4FlgB0u75REj/e00HA4Bf4rvR pj0/ry4cjBLyIt7HKx7TIxpqtQ30KjhIwV1uSh4vJr+jsdILDRdsSX1/Efrp2I2VcvOr M1Nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=PgbfP1MtTzIsjhA+QdAJgHz7Zb9cB4DN0iGjCc2hVWQ=; b=ZIT7cdOmH6r+j1RhnqZF5O1uVCLR73RAo3H+qB+GfEw/L9xhVWyQEiv+A9HlYhmWqc D3HYWKq2yyX3jLhMrXZaXOwR1sTV5Pz4t/pWprIDFNKj8Sbmlao32Jjk4zP4D8C3v7Ce DDNBNxZTtfHO1EqCPK4drSZ45WlM+ok7OOJzUua43L14tsE7s2hd0rLCHRf2JxL2J1UY OYiKqKRE/lN2a4+CMf/qLPfDBSxcSU9V2RXtXUN/oJ4qYrOtYLt2qU1ZUsTRTl0OgyZJ 3a/3fTFP2NWk9llEJoxbF4X9W4K+W1KH65Ajuh6qC1IGblokTAiNtCvNZS7Ug/hWapCm 1A3Q== X-Gm-Message-State: AA+aEWZOmoLpzydvF98QyWXdaRiVSxiNYF4Ox3jBCtglLTcl+qaDD5tz X7M5PNGSWmWlliCqUQMEoxN9mK4i X-Google-Smtp-Source: AFSGD/VrJFKzrM4am9tNV1z0/blfv9kuLS6tQMnEHonQ9+67JMOPnHZKw8SEgCAgeSC9d6H17Oj6wQ== X-Received: by 2002:a50:8e95:: with SMTP id w21mr48337269edw.198.1546706382504; Sat, 05 Jan 2019 08:39:42 -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 ga24-v6sm16152736ejb.72.2019.01.05.08.39.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 05 Jan 2019 08:39:41 -0800 (PST) References: <87lg3z8nc2.fsf@gmail.com> <6B48181E-452B-4D22-80B1-DAECAE104B48@lepiller.eu> User-agent: mu4e 1.0; emacs 26.1 From: Gabriel Hondet In-reply-to: <6B48181E-452B-4D22-80B1-DAECAE104B48@lepiller.eu> Date: Sat, 05 Jan 2019 17:39:41 +0100 Message-ID: <874lan83ea.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: , Cc: 33986@debbugs.gnu.org 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 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)))