From patchwork Thu Jan 3 09:59:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Hondet X-Patchwork-Id: 673 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 B164616A0B; Sat, 5 Jan 2019 11:15:11 +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 485E4169C4 for ; Sat, 5 Jan 2019 11:15:11 +0000 (GMT) Received: from localhost ([127.0.0.1]:53443 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfjv4-0005Vi-TE for patchwork@mira.cbaines.net; Sat, 05 Jan 2019 06:15:10 -0500 Received: from eggsout.gnu.org ([209.51.188.92]:43521 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfjuz-0005VK-Av for guix-patches@gnu.org; Sat, 05 Jan 2019 06:15:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfjuw-0004tw-4t for guix-patches@gnu.org; Sat, 05 Jan 2019 06:15:05 -0500 Received: from debbugsout.gnu.org ([209.51.188.43]:57993) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gfjuv-0004th-VC for guix-patches@gnu.org; Sat, 05 Jan 2019 06:15:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gfjuv-0006n1-NV for guix-patches@gnu.org; Sat, 05 Jan 2019 06:15:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33986] [PATCH 8/9] gnu: Add ocaml-ppx-derivers. 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:15: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.154668685326014 (code B ref 33986); Sat, 05 Jan 2019 11:15:01 +0000 Received: (at 33986) by debbugs.gnu.org; 5 Jan 2019 11:14:13 +0000 Received: from localhost ([127.0.0.1]:47297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfju9-0006lV-8H for submit@debbugs.gnu.org; Sat, 05 Jan 2019 06:14:13 -0500 Received: from mail-ed1-f44.google.com ([209.85.208.44]:39944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfju7-0006lH-A7 for 33986@debbugs.gnu.org; Sat, 05 Jan 2019 06:14:11 -0500 Received: by mail-ed1-f44.google.com with SMTP id g22so33815388edr.7 for <33986@debbugs.gnu.org>; Sat, 05 Jan 2019 03:14: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=e1uBY+rjpFK37MPLzmNY9cCG21HwPCnxVeteOYjyxT0=; b=N3QEJY4LtnOotKWRyJZ11NNX81R9cWo193KqsyeU4nySWOz4TBCRBlvZYBsPqYCWeX UMzAxEFHzGeEGVdW5vVQTkWhZkk/zermTvF3VQvsa3awghiDPJrNzRV6tRdFT+p14N0z 5W/6Hp1lF7QEm+KalAr0whwa6GMzH6Dp4NrtEVNCl3Mg6ojt0HpJHCVQDqJyLRmMN28O Rc87EzPwONfbQlqx7LseqwNEvXMBsFZLrlwHZUOFMjUsyNlc15KtUZzxAdwWhcDsY5dS mmRMNHf6qhuxtcf77h8nGLTsekumwRGO+Sl/0P6rJO7PkpMZXcAzHuZABz+7ONGta+vA C2jw== 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=e1uBY+rjpFK37MPLzmNY9cCG21HwPCnxVeteOYjyxT0=; b=jGz6yjvEEAj2isEOMYWQAAR/JMBgVMwZ1Kp+Hg30YFt5hYpMk6QHYlfBv/5egWFhGz 5i/RtoduZ8WYBQTdErKxGT4YzJEoOCxEVFFvbV2D0tQCOhKvMHy542QdeUhaFy0UwM7B 66wPfeF+waYt/b6lZwBT5NER+X3NVT1ALl+H8AAvMTu/1EjMCeCJ0fzKZnE4mTbzMBfu ZFpygXWyMzCj5XCxAu86DtV361n3n7UflZUDKfLI2DpCbLGwvNHlxZdttb0161wKlIL7 mY2g/LiEfu5CrVR6KEoornS2d0yUeHPQNCmrPsFtCJYQXj4qdxotNm5recG24wVcvEpY 0jFQ== X-Gm-Message-State: AA+aEWbNHwOaUV90wIjyiH37CTA1V3qho/nrdFHYPDQkE2SQ8LEOK7KA uUier/dTwzwynNWH9T6NyOGLt3uo X-Google-Smtp-Source: AFSGD/V+M5oS2PQjTAlI2q8Vt4dc5WGuNcRGujK/TayKIJLRbFC8bt3lcJOSqQ6H98Tx4Pq7zEOR2A== X-Received: by 2002:aa7:d394:: with SMTP id x20mr48719836edq.193.1546686845470; Sat, 05 Jan 2019 03:14:05 -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 t24sm26711595edb.7.2019.01.05.03.14.04 for <33986@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 05 Jan 2019 03:14:04 -0800 (PST) User-agent: mu4e 1.0; emacs 26.1 From: Gabriel Hondet Date: Thu, 3 Jan 2019 10:59:52 +0100 Message-ID: <87bm4v8igz.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-ppx-derivers): New variable. --- gnu/packages/ocaml.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 209aa66c3..3607dc319 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -5328,3 +5328,29 @@ and/or previous version.") It re-exports the input/output functions of the OCaml standard libraries using a more consistent API.") (license license:expat))) + +(define-public ocaml-ppx-derivers + (package + (name "ocaml-ppx-derivers") + (version "1.2") + (home-page + "https://github.com/ocaml-ppx/ppx_derivers") + (source + (origin + (method git-fetch) + (uri (git-reference + (url (string-append home-page ".git")) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0bnhihl1w31as5w2czly1v3d6pbir9inmgsjg2cj6aaj9v1dzd85")))) + (build-system dune-build-system) + (arguments + '(#:tests? #f)) + (synopsis "Shared [@@deriving] plugin registry") + (description + "Ppx_derivers is a tiny package whose sole purpose is to allow +ppx_deriving and ppx_type_conv to inter-operate gracefully when linked +as part of the same ocaml-migrate-parsetree driver.") + (license license:bsd-3)))