From patchwork Thu Jan 3 09:13:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Hondet X-Patchwork-Id: 669 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 EAF4D16A0B; Sat, 5 Jan 2019 11:12:09 +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=ham 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 827B2169C4 for ; Sat, 5 Jan 2019 11:12:09 +0000 (GMT) Received: from localhost ([127.0.0.1]:52629 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfjs8-0004lD-QL for patchwork@mira.cbaines.net; Sat, 05 Jan 2019 06:12:08 -0500 Received: from eggsout.gnu.org ([209.51.188.92]:42712 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfjs6-0004l2-Ck for guix-patches@gnu.org; Sat, 05 Jan 2019 06:12:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfjs3-0002HI-8w for guix-patches@gnu.org; Sat, 05 Jan 2019 06:12:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:57197) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gfjs3-0002H0-5a for guix-patches@gnu.org; Sat, 05 Jan 2019 06:12:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gfjs2-0006hT-VO for guix-patches@gnu.org; Sat, 05 Jan 2019 06:12:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33986] [PATCH 5/9] gnu: Add ocaml-compiler-libs. 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.154668671125727 (code B ref 33986); Sat, 05 Jan 2019 11:12:02 +0000 Received: (at 33986) by debbugs.gnu.org; 5 Jan 2019 11:11:51 +0000 Received: from localhost ([127.0.0.1]:47288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfjrq-0006gs-PL for submit@debbugs.gnu.org; Sat, 05 Jan 2019 06:11:51 -0500 Received: from mail-ed1-f49.google.com ([209.85.208.49]:43790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfjrp-0006gg-EF for 33986@debbugs.gnu.org; Sat, 05 Jan 2019 06:11:49 -0500 Received: by mail-ed1-f49.google.com with SMTP id f9so33821410eds.10 for <33986@debbugs.gnu.org>; Sat, 05 Jan 2019 03:11:49 -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=eog3JOMTwdX4TzLfkuoORMRViFDAVCl7V/X1T2bWIG0=; b=uyycDmDiJ7UxNc7LXZUcxaqicsAIJiu5XiDKrhCt1g5qZv+Htv09Pl6KXgcitBqd1X lMgNpM6lh9A9mfSY5AC+/djj/2NWPaWZ2p2Gc25FEX0o+/iMnTTzRmo8aYaHfIXEpsuJ pg8CffjjcncHkzmO+u1jN0fMClS91lYDgSrMvgFWyot1kcn2xu7/NSXR1LrwHhUpvhmA CzDxHCgd8Q8Ft66WBqhgxJkEZLHX3XKOy7Yg8rV/3erU1YczcevzKuIGGcdAOlFpd+vN rpV5FgWzs8ch7x0CbXNV0eP6mGgn7BdURJxLkv8EsigTdt5D7Cgk1VWBtK3GRcdfq38K igpA== 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=eog3JOMTwdX4TzLfkuoORMRViFDAVCl7V/X1T2bWIG0=; b=njqTLzaM4/eAuLmpuhqa7+TTa4sbvZizGRuYyLKj4DSD8lB7wpNpwK4nmYAMeFH+hk ZUcCHJW/YNGhXuE6oIcyDQrwryPBWcg5PzdGUP/lF2tl53HLHq5P3P+lsmE941m4qkvf s1hjR/rUjYZEW47858FLVnpqv6kJpGuAyEjEak3iwWh2m1HbAifzewhFKm+c08SPHTj5 2hqfniMuejOaNfcrCVrIhJnJdHDjHPMFkG5B9tHxPPLpYlhl6Sk8Mr8puhLxOmZ0Aq5G 030fkgIIUtwMlkcJtarIGiWFJcSWV6HJnwNcE7uqeXpNHpO1QK6PCjIgGrJGU7tVkiv8 gkkw== X-Gm-Message-State: AA+aEWYnI5P90eTAgd7GzPGCR0trSDCYReist6VKEGL4sJbg0PS83/SU krSXL7wStRik7ICyQ/8PPa0oq8aC X-Google-Smtp-Source: AFSGD/XXYBhTbo/T+WP1XOMaqSjPRT4ZhDkTOxIdkMjV2bzZMOo2KHqr5m2HQm73GaSO2M/pdIwxjg== X-Received: by 2002:aa7:d487:: with SMTP id b7mr47365334edr.256.1546686703635; Sat, 05 Jan 2019 03:11:43 -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 h21-v6sm15324240eja.45.2019.01.05.03.11.42 for <33986@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 05 Jan 2019 03:11:43 -0800 (PST) User-agent: mu4e 1.0; emacs 26.1 From: Gabriel Hondet Date: Thu, 3 Jan 2019 10:13:51 +0100 Message-ID: <87ftu78ikx.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-compiler-libs): New variable. --- gnu/packages/ocaml.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 9e2e7e09b..6f91f5d99 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -5247,3 +5247,26 @@ provided by companion libraries such as @url{https://github.com/janestreet/stdio, stdio}.") (license license:expat))) +(define-public ocaml-compiler-libs + (package + (name "ocaml-compiler-libs") + (version "0.11.0") + (home-page "https://github.com/janestreet/ocaml-compiler-libs") + (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 + "03jds7bszh8wwpfwxb3dg0gyr1j1872wxwx1xqhry5ir0i84bg0s")))) + (build-system dune-build-system) + (arguments + '(#:tests? #f)) + (synopsis "Compiler libraries repackaged") + (description "This packaeg simply repackages the OCaml compiler libraries +so they don't expose everything at toplevel. For instance, @code{Ast_helper} +is now @code{Ocaml_common.Ast_helper}.") + (license license:expat)))