From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6MuLBmDTEGH2QAAAgWs5BA (envelope-from ) for ; Mon, 09 Aug 2021 09:04:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YJlAAmDTEGFqRgAAB5/wlQ (envelope-from ) for ; Mon, 09 Aug 2021 07:04:00 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C4996141EF for ; Mon, 9 Aug 2021 09:03:59 +0200 (CEST) Received: from localhost ([::1]:47518 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCzKI-0007rv-R3 for larch@yhetil.org; Mon, 09 Aug 2021 03:03:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCzJQ-0005tj-OI for guix-patches@gnu.org; Mon, 09 Aug 2021 03:03:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44004) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCzJP-0000xs-7G for guix-patches@gnu.org; Mon, 09 Aug 2021 03:03:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mCzJO-0003hB-O0 for guix-patches@gnu.org; Mon, 09 Aug 2021 03:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49867] [PATCH v2 20/31] gnu: Add ocaml-ppx-deriving. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Aug 2021 07:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49867 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49867@debbugs.gnu.org Cc: pukkamustard Received: via spool by 49867-submit@debbugs.gnu.org id=B49867.162849254014068 (code B ref 49867); Mon, 09 Aug 2021 07:03:02 +0000 Received: (at 49867) by debbugs.gnu.org; 9 Aug 2021 07:02:20 +0000 Received: from localhost ([127.0.0.1]:55530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCzIi-0003ej-82 for submit@debbugs.gnu.org; Mon, 09 Aug 2021 03:02:20 -0400 Received: from mout02.posteo.de ([185.67.36.66]:46601) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCzIJ-0003YO-0g for 49867@debbugs.gnu.org; Mon, 09 Aug 2021 03:01:55 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 272B1240107 for <49867@debbugs.gnu.org>; Mon, 9 Aug 2021 09:01:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1628492509; bh=uhB5PdWE11QwvBQgyJerwz9oc9dgnlLaDD9Eg33lyLM=; h=From:To:Cc:Subject:Date:From; b=c2nm1Ea0IzZJRyAfes3468ITWX1w1M7zQi9xlop7JYAolOzzK5llPrIcWoQABVUJ0 HO2vCP9F1Nx+/bmRHGEOoXPnD+0bD+OGZHQCX3VUS/RHrYKH+Ek5n6X9DFnQq/P+vX sypBQjy5FwagnBzLO3WE3aBo5Sd7IMZ7B+e3Oj6A2pOXwytQRJXDZCguD74b7NeG01 NQK/mQoNlIPeroyPENoEzfs0uIMJvOPA0A5ys/31NzwiYY4SmLVBpyL3FtTp37FPAW v5Q5loAQFQ0f4j9mdF72PExNYJ71VgNgb0KF0YQchkP9qcHwEQMZk4sQtZegE7PAf1 NU2vDQuBIcofA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Gjn7c32Swz6tmL; Mon, 9 Aug 2021 09:01:48 +0200 (CEST) From: pukkamustard Date: Mon, 9 Aug 2021 07:01:13 +0000 Message-Id: <20210809070124.25641-20-pukkamustard@posteo.net> In-Reply-To: <20210809070124.25641-1-pukkamustard@posteo.net> References: <86pmun5cp5.fsf@posteo.net> <20210809070124.25641-1-pukkamustard@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628492639; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=jdxZdNpHgiwvYL1JZSzMSKs8+aZWTue9SYtUJSQBqCQ=; b=EHPdSwNk15OKyqyhpA63XX+JJQbAZbGLsN4pLfHA5dUHmm4w/Z4h8hRuqSIQHyQwhShEp/ BOx7NIB2ZrAGTvwaPSTnE5ghrwEKkn3fHHDm8bLEFZncsrA+NA/fDBq588x8IJIACYDdIp AmKo7Q8bhaqcxu9K9n6KI8JzqKXEX5O7pcTb3JpyQbfHXByYkPDHb1AkCXVR86d8KC5Nzp +KKC8ZZmWBk9GHfKQJX5Fo48Lc/kIN5xYQN22tHQM8hGIKEjZi7dLXrnty2UsagTSBdALt 4mNSXJ5aaCGdM9XbdCqa8bFqSc1y4vvUVg3LxYPbpgmb7NCISdDKUpwmB7poYQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628492639; a=rsa-sha256; cv=none; b=B2vQmFE882JJ0FuOGyVG2CLh5FRwtFAtGZ99CaQYrGHiYSbVwX7shpnzEHd23Lqj5mxQou lMEyNSUajw7+/3Kdwyp0ZnRC/gqJ1kUdB6mVVcdL55zSrZVxxnhU60INkR7JLUXDw0VIvc a+69RPSyG1ZjDrlHvi4j9U52oibiyMN2e3yN1BCUMPH3M7037lDCPRw178Pg0pz3yog1Mq XQUQB9L+cdq4cMHmij1HS536WEK3wLLAjebWaS26VaH9MsNLHpW9DdeYPb+F8Tg+HTqrnZ xdwm1v7rFWVJInQ2tbmteU+92rlIPYHLrtaX72zvPZjJ0+kgBMCOG2TfHqDRuQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=c2nm1Ea0; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=c2nm1Ea0; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: C4996141EF X-Spam-Score: 3.69 X-Migadu-Scanner: scn1.migadu.com X-TUID: xUhHTvfcx4uE * gnu/packages/ocaml.scm (ocaml-ppx-deriving): New variable. --- gnu/packages/ocaml.scm | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index de3ae3eb9d..92562d1c3a 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -4523,7 +4523,38 @@ speedup, polymorphic variants and optional syntax for tuples and variants. yojson package. The program @code{atdgen} can be used to derive OCaml-JSON serializers and deserializers from type definitions.") (license license:bsd-3))) - + +(define-public ocaml-ppx-deriving + (package + (name "ocaml-ppx-deriving") + (version "5.2.1") + (home-page "https://github.com/ocaml-ppx/ppx_deriving") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1wqcnw4wi6pfjjhixpakckm03dpj990259za432804471a6spm2j")))) + (build-system dune-build-system) + (arguments `(#:test-target ".")) + (propagated-inputs + `(("ocaml-ppx-derivers" ,ocaml-ppx-derivers) + ("ocaml-ppxlib" ,ocaml-ppxlib) + ("ocaml-result" ,ocaml-result))) + (native-inputs + `(("ocaml-cppo" ,ocaml-cppo) + ("ocaml-ounit2" ,ocaml-ounit2))) + (properties `((upstream-name . "ppx_deriving"))) + (synopsis "Type-driven code generation for OCaml") + (description "This OCaml library provides common infrastructure for +generating code based on type definitions, and a set of useful plugins for +common tasks.") + (license license:expat))) + (define-public ocaml-craml (package (name "ocaml-craml") -- 2.32.0