From patchwork Thu Jan 3 09:40:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Hondet X-Patchwork-Id: 671 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 63A6216A0B; Sat, 5 Jan 2019 11:13:12 +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 EB32E16A0A for ; Sat, 5 Jan 2019 11:13:11 +0000 (GMT) Received: from localhost ([127.0.0.1]:52898 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfjt9-0004wA-ID for patchwork@mira.cbaines.net; Sat, 05 Jan 2019 06:13:11 -0500 Received: from eggsout.gnu.org ([209.51.188.92]:42914 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfjt3-0004ve-DO for guix-patches@gnu.org; Sat, 05 Jan 2019 06:13:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfjt0-0003HV-5t for guix-patches@gnu.org; Sat, 05 Jan 2019 06:13:05 -0500 Received: from debbugsout.gnu.org ([209.51.188.43]:58688) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gfjt0-0003H3-2L for guix-patches@gnu.org; Sat, 05 Jan 2019 06:13:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gfjsz-0006j5-KM for guix-patches@gnu.org; Sat, 05 Jan 2019 06:13:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33986] [PATCH 6/9] gnu: Add ocaml-migrate-parsetree. 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:13: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.154668675225817 (code B ref 33986); Sat, 05 Jan 2019 11:13:01 +0000 Received: (at 33986) by debbugs.gnu.org; 5 Jan 2019 11:12:32 +0000 Received: from localhost ([127.0.0.1]:47291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfjsW-0006iL-4k for submit@debbugs.gnu.org; Sat, 05 Jan 2019 06:12:32 -0500 Received: from mail-ed1-f44.google.com ([209.85.208.44]:34232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfjsU-0006i7-Ea for 33986@debbugs.gnu.org; Sat, 05 Jan 2019 06:12:30 -0500 Received: by mail-ed1-f44.google.com with SMTP id b3so33947934ede.1 for <33986@debbugs.gnu.org>; Sat, 05 Jan 2019 03:12:30 -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=GSuU5KI6KMcpWP9YBh+3Yxu3JWP08AOHMyhsIuxPj3g=; b=kYjP3/RcCq8XwDT2/hevosEa830xtOf1WujAe0G3y9i/RIeSJPvDZg4vPUFjY63818 z+ppDYb+x+xXb6ycvwdE9+x9S4aqw68Jgi8RQZrdUltFCViBPNBcpbIptJbqIT2wJsdZ 4qbGtEXamVvgbjiFIKp0MHoXvgBkEPgcicVMX0KohxBQ4BsajEo5FG5kSigkX4mumhNw RRvINKh8RrVqFO0+FtoUawvRtxdlXMRAPzOM+0mcaLT/A4XzD2oJ6XfzBoUufG8G1i1B OwuYoeDWT+Nv7qFFhTsz/+H3zTuDihJeMo3DDFMElE2mORsk+YjDn98qCA7zboBnpxyP 9F9g== 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=GSuU5KI6KMcpWP9YBh+3Yxu3JWP08AOHMyhsIuxPj3g=; b=QsoEIZjS/9By6wMHT4Ak2h6dOzakja+YZ88GpNKxNoulmhFgWVQ4MNEN3eIT2/u6VP hl/z1WDOjBd1c8HN4L8T+XW+1ZL84TxxMPqhNq7Y5p+tnRNBG1zq/nF+AODTVgLpb0px nCYSPWVlBQ6+RVqnndHQZwvNMyupPUrU3/uePy2O6Pm6X6/x352jiuf5gS1/HRmTOnac 2bkdXsSUMCrlUATE6bKBOUhF0mUTDBiTaRr4QhsAYUSxNQXNPojdsrwsEZTC7M8MkL/u 5INhGvqY9Yc3i5O8MgljWTmFPi/Q9mmKUC4SYj4gCwaXstjnjNbk4VrSQXLB7WAxgL7m zwXw== X-Gm-Message-State: AA+aEWbdTWhwMVlwQzWns6Pqjo/cwKI0HZ2+hG2YnKEdx9raSK/hUV6M zUGMXE0dvL/yI6lRBGxfsSWMfPRd X-Google-Smtp-Source: AFSGD/XcSqiHkxnp7Tg3LtgcmUfGVhxHW5Rk8NgXIfx5tiqiUFzXZLh/cdKMV8AE+S2qXdJKjJHnHg== X-Received: by 2002:a17:906:6b43:: with SMTP id o3-v6mr41836839ejs.31.1546686744532; Sat, 05 Jan 2019 03:12:24 -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 97sm28744745edq.45.2019.01.05.03.12.23 for <33986@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 05 Jan 2019 03:12:23 -0800 (PST) User-agent: mu4e 1.0; emacs 26.1 From: Gabriel Hondet Date: Thu, 3 Jan 2019 10:40:45 +0100 Message-ID: <87ef9r8ijs.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] [fuzzy] X-Received-From: 209.51.188.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-migrate-parsetree): New variable. --- gnu/packages/ocaml.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 6f91f5d99..28ae9fd04 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -5270,3 +5270,33 @@ provided by companion libraries such as so they don't expose everything at toplevel. For instance, @code{Ast_helper} is now @code{Ocaml_common.Ast_helper}.") (license license:expat))) + +(define-public ocaml-migrate-parsetree + (package + (name "ocaml-migrate-parsetree") + (version "1.1.0") + (home-page "https://github.com/ocaml-ppx/ocaml-migrate-parsetree") + (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 + "1d2n349d1cqm3dr09mwy5m9rfd4bkkqvri5i94wknpsrr35vnrr1")))) + (build-system dune-build-system) + (inputs + `(("ocaml-compiler-libs" ,ocaml-compiler-libs) + ("ocaml-result" ,ocaml-result))) + (native-inputs + `(("ocamlbuild" ,ocamlbuild))) + (synopsis "Convert OCaml parsetrees between different major versions") + (description "This library converts between parsetrees of different OCaml +version. + +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+)))