From patchwork Thu Jan 31 16:54:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Hondet X-Patchwork-Id: 930 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 6AB9516B3E; Thu, 31 Jan 2019 17:17:05 +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,URIBL_BLOCKED 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 CB64E16AB1 for ; Thu, 31 Jan 2019 17:17:04 +0000 (GMT) Received: from localhost ([127.0.0.1]:57866 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpFxY-0007LJ-C2 for patchwork@mira.cbaines.net; Thu, 31 Jan 2019 12:17:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpFwa-0006ou-Ah for guix-patches@gnu.org; Thu, 31 Jan 2019 12:16:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gpFwY-0001a2-IP for guix-patches@gnu.org; Thu, 31 Jan 2019 12:16:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53976) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gpFwY-0001Zx-Ed for guix-patches@gnu.org; Thu, 31 Jan 2019 12:16:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gpFwY-0006E3-4t for guix-patches@gnu.org; Thu, 31 Jan 2019 12:16:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34265] [PATCH 6/9] gnu: ocaml-migrate-parsetree: Update to 1.2.0. References: <875zu4ycve.fsf@gmail.com> In-Reply-To: <875zu4ycve.fsf@gmail.com> Resent-From: Gabriel Hondet Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 31 Jan 2019 17:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34265 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34265@debbugs.gnu.org Received: via spool by 34265-submit@debbugs.gnu.org id=B34265.154895491423863 (code B ref 34265); Thu, 31 Jan 2019 17:16:02 +0000 Received: (at 34265) by debbugs.gnu.org; 31 Jan 2019 17:15:14 +0000 Received: from localhost ([127.0.0.1]:53257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gpFvl-0006Cp-JX for submit@debbugs.gnu.org; Thu, 31 Jan 2019 12:15:13 -0500 Received: from mail-wm1-f48.google.com ([209.85.128.48]:36087) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gpFvj-0006CX-Jq for 34265@debbugs.gnu.org; Thu, 31 Jan 2019 12:15:12 -0500 Received: by mail-wm1-f48.google.com with SMTP id p6so3407565wmc.1 for <34265@debbugs.gnu.org>; Thu, 31 Jan 2019 09:15:11 -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=N3xMl3AWx6umERGMqINE88CX/VWQmc5vA34PtCvFLa0=; b=D3O6MvfTN1f/TnRD95EHif6ORsWLS/5qsVqM5PJ5OVM7icfkx+TXTL72xnD3JzCm3c km+zRtqLLnR4OxE5Oa+NRE/fnSfmb+Mvq7vMAfHuypM7wBY1ex1WC7husfTnPaWfPxv+ rboFGo7bEaqsKPeNtHJY4+0fAjtyiItjsYFMnUYHGVFMjZsOgIKMOG0mBalgZKHSfjCa bowExNHam89b5op8MSDMytCUXU4pkNbntvGZoyGo+PZrYXMRFaOW8RFN7nghsQONwzTy wUyhHtuX20TbtuF+rvjj65libOmkLj6r5mNqlvWVQUWleoDYKQSkvqAW93h6Vis3a+ab hAPA== 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=N3xMl3AWx6umERGMqINE88CX/VWQmc5vA34PtCvFLa0=; b=HfPYIWrJxCeUAJ4Wzq67TW1/Dv6xvPQcZitY6J/qzn5X/0DJXGvi2nUvvK2FCOUzGh 5iQo7hobX82FNwuaIyR05yC/xKhPmj1fhZEVJQOETON2ri8KqxiqCy9zMsHDEgTb7pD3 r2hoa6Ig+getJP2dLU3Y4Wo7MMzU1pz8nhHzO2sMQQpBQS9UzIHSLbfU24eUZGopJ67D vTTAIpCOHjQbM3NZv3M8cnyAPO3ywBVcMp1sTDeqJwsgSvdtuwFrXXuO2RBMcgNeVdgP 2FFh9kNZECGrEpdAtTRJ/z7eDMb5URJd7QK5JPixQAtVLIGrJeA6YB9ep8FVUvo0UV7Q zXhw== X-Gm-Message-State: AJcUukcSxpQRD0OtmfXcgDpNiBn8tnogWDG+hWInU1MbLlLaLa6em2T7 ue3KLtyV9HHV0Yy1Gu/goRr4iqwS X-Google-Smtp-Source: ALg8bN6Ma90hJmqr9nR1SHX+cppECb0xKSNAxwd0IRSUTUiEuR7eb7RKxXuGKlUnNj5hRez2cKccJA== X-Received: by 2002:a1c:f71a:: with SMTP id v26mr28694540wmh.131.1548954905449; Thu, 31 Jan 2019 09:15:05 -0800 (PST) Received: from glht-aurore.gmail.com ([217.109.134.89]) by smtp.gmail.com with ESMTPSA id t4sm4281916wrb.64.2019.01.31.09.15.04 for <34265@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 Jan 2019 09:15:04 -0800 (PST) User-agent: mu4e 1.0; emacs 26.1 From: Gabriel Hondet Date: Thu, 31 Jan 2019 17:54:24 +0100 Message-ID: <87y370wxyf.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: 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): Update to 1.2.0. --- gnu/packages/ocaml.scm | 37 ++++++++++++++++++++++++------------- 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 4c2579975..bf12cc85c 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -1419,24 +1419,35 @@ following a very simple s-expression syntax.") (define-public ocaml-migrate-parsetree (package (name "ocaml-migrate-parsetree") - (version "1.1.0") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/ocaml-ppx/" - "ocaml-migrate-parsetree/releases/download/v" - version "/ocaml-migrate-parsetree-" - version ".tbz")) - (sha256 - (base32 - "01zjp1q4hryqaxv4apkjd868fycz2kf887r6lkb6x2a545h1lh7f")))) + (version "1.2.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)))) + (sha256 + (base32 + "16kas19iwm4afijv3yxd250s08absabmdcb4yj57wc8r4fmzv5dm")))) (build-system dune-build-system) (arguments `(#:tests? #f - #:jbuild? #t)) + #:phases + (modify-phases %standard-phases + (replace 'install + ;; set libdir to use ocaml-site + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (invoke "dune" "install" + (string-append "--prefix=" out) + (string-append "--libdir=" out + "/lib/ocaml/site-lib"))) + #t))))) (propagated-inputs - `(("ocamlbuild" ,ocamlbuild) + `(("ocaml-ppx-derivers" ,ocaml-ppx-derivers) + ("ocamlbuild" ,ocamlbuild) ("ocaml-result" ,ocaml-result))) - (home-page "https://github.com/ocaml-ppx/ocaml-migrate-parsetree") (synopsis "OCaml parsetree convertor") (description "This library converts between parsetrees of different OCaml versions. For each version, there is a snapshot of the parsetree and conversion