From patchwork Thu Jan 3 07:45:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Hondet X-Patchwork-Id: 668 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 7740A16A0B; Sat, 5 Jan 2019 11:10:19 +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 1E939169C4 for ; Sat, 5 Jan 2019 11:10:19 +0000 (GMT) Received: from localhost ([127.0.0.1]:52091 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfjqM-0004Xl-NM for patchwork@mira.cbaines.net; Sat, 05 Jan 2019 06:10:18 -0500 Received: from eggsout.gnu.org ([209.51.188.92]:42180 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfjqH-0004XT-39 for guix-patches@gnu.org; Sat, 05 Jan 2019 06:10:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfjqC-00016g-RA for guix-patches@gnu.org; Sat, 05 Jan 2019 06:10:12 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:48898) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gfjq6-00013F-28 for guix-patches@gnu.org; Sat, 05 Jan 2019 06:10:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gfjq5-0006dp-QF for guix-patches@gnu.org; Sat, 05 Jan 2019 06:10:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33986] [PATCH 3/9] gnu: Add ocaml-sexplib. 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:10:01 +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.154668656925482 (code B ref 33986); Sat, 05 Jan 2019 11:10:01 +0000 Received: (at 33986) by debbugs.gnu.org; 5 Jan 2019 11:09:29 +0000 Received: from localhost ([127.0.0.1]:47277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfjpY-0006cw-Ti for submit@debbugs.gnu.org; Sat, 05 Jan 2019 06:09:29 -0500 Received: from mail-ed1-f49.google.com ([209.85.208.49]:37529) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfjpW-0006ch-OT for 33986@debbugs.gnu.org; Sat, 05 Jan 2019 06:09:27 -0500 Received: by mail-ed1-f49.google.com with SMTP id h15so33840554edb.4 for <33986@debbugs.gnu.org>; Sat, 05 Jan 2019 03:09:26 -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=CzvL9+v0dqJ5Lgolq9p7Kxul9v6xsw2B+eAxfROlUJ8=; b=mKXrDhLCK3aiw96S8OTsiHXK/eg17gsy88+mlZXNyNsyHzcSgrpwRlyLwAErWQ7vC8 RrhXkPf71HHLnfR3dr3MGao1doylaZN/BKDnQDdxsWNCezOSp74KCUqkuF5aCFw07Xop 9LDBGfkvSx8orTB7NvftUSkYYn2iQQwIDGgLU47k2/CADRJzgS8Z812Oj/pl+TgnuASv ytBKTl/hOJNVl9xOHopphvVkVndZx2V+6+aLJmbDNnshX2EwbexZYYMAhJ60dlG5A8OG 2TmvJMNtWqk06XP/p0HIayY34kAFhftf8Ea+ZKxilqnXxyOj8aY11pAE+sElY4h76+Y4 suVA== 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=CzvL9+v0dqJ5Lgolq9p7Kxul9v6xsw2B+eAxfROlUJ8=; b=CDKiBlJXJGDCyvRx+NrqypUkS8p+cY2xHEPCfMK0EQueGNpXzx3Lgr91WzEtyKyUxm OvBX3Al3twknQD4k7c56tVDldcaiKHSkImf7ZWQcSysmxFZ7lkyXwFL9kRFWcJITPbBk 6zgBS1/fUE1y0QEztGNdRR73iw4U/R7VXZvjamT88seiIOynL4zzqVGPF0414Df0VSfU riUvsbAL9a68uIpUZKjwyfMTJzOAKA6LWM+5iUWhCZa327TCyirRB+I4n5ZfYi9tQPsO CxECewX7aFpTZErrl+ujjUX43YsFtaYaxzEN9Keyvj1xb00LoFXcHxX0uXtGO9K9c1Ra cE8A== X-Gm-Message-State: AA+aEWblGLqPM5bAddwCOwzO6M4Yar2FPC1hM9ifvDf6ur9AcON0CDyP EDNE+HgR3j20odWuVF95lTyFXa2S X-Google-Smtp-Source: AFSGD/WS8azW0eDiGjJkWgPI0RAx1LHYtQWEfr8OBb51t9cY+h1INHuoMTUlhyW7Z5pLA6kp4WQTRQ== X-Received: by 2002:a50:ed03:: with SMTP id j3mr49405049eds.134.1546686560906; Sat, 05 Jan 2019 03:09:20 -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 z16-v6sm15268492eju.61.2019.01.05.03.09.20 for <33986@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 05 Jan 2019 03:09:20 -0800 (PST) User-agent: mu4e 1.0; emacs 26.1 From: Gabriel Hondet Date: Thu, 3 Jan 2019 08:45:36 +0100 Message-ID: <87imz38ip0.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-sexplib): New variable. --- gnu/packages/ocaml.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 7876c69a7..0faab47ee 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -5176,3 +5176,32 @@ This library is portable and doesn't provide IO functions. To read s-expressions from files or other external sources, you should use parsexp_io.") (license license:expat))) + +(define-public ocaml-sexplib + (package + (name "ocaml-sexplib") + (version "0.11.0") + (home-page "https://github.com/janestreet/sexplib") + (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 + "1qfl0m04rpcjvc4yw1hzh6r16jpwmap0sa9ax6zjji67dz4szpyb")))) + (build-system dune-build-system) + (inputs + `(("ocaml-num" ,ocaml-num) + ("ocaml-parsexp" ,ocaml-parsexp) + ("ocaml-sexplib0" ,ocaml-sexplib0))) + (synopsis + "Library for serializing OCaml values to and from S-expressions") + (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)))