From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YB2JHLbcAmLsCwEAgWs5BA (envelope-from ) for ; Tue, 08 Feb 2022 22:12:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KGFIFbbcAmK5zwAAG6o9tA (envelope-from ) for ; Tue, 08 Feb 2022 22:12:22 +0100 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 1162C2A6DD for ; Tue, 8 Feb 2022 22:12:22 +0100 (CET) Received: from localhost ([::1]:49946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHXme-0001za-Ty for larch@yhetil.org; Tue, 08 Feb 2022 16:12:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHWuC-0000bS-AN for guix-patches@gnu.org; Tue, 08 Feb 2022 15:16:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54943) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHWuC-0007X8-05 for guix-patches@gnu.org; Tue, 08 Feb 2022 15:16:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHWuB-0002aR-TI for guix-patches@gnu.org; Tue, 08 Feb 2022 15:16:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53882] [PATCH 05/24] gnu: Add ocaml-ppx-typerep-conv. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 08 Feb 2022 20:16:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53882 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53882@debbugs.gnu.org Received: via spool by 53882-submit@debbugs.gnu.org id=B53882.16443513139693 (code B ref 53882); Tue, 08 Feb 2022 20:16:03 +0000 Received: (at 53882) by debbugs.gnu.org; 8 Feb 2022 20:15:13 +0000 Received: from localhost ([127.0.0.1]:48795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHWtL-0002Vm-Rw for submit@debbugs.gnu.org; Tue, 08 Feb 2022 15:15:13 -0500 Received: from lepiller.eu ([89.234.186.109]:47112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHWtF-0002TE-Hx for 53882@debbugs.gnu.org; Tue, 08 Feb 2022 15:15:05 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 2bcd2082 for <53882@debbugs.gnu.org>; Tue, 8 Feb 2022 20:14:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=/vkQNMl+U/GZUd+gNjb40lCd1 ARn8ua0AEkU07BseT8=; b=hH/tWAw3Dk1baxWSYff5D7CvzHxNR61mjviGc56iC y19Puw4Hgdk8wS1Qr4qf/fF5a5V4oKROlxkvgT0TaZGbPyVRlcFnlczec8Apu5Fs RgmJKJa7ixHai6IFy+gMo3u85WsnEvaf9upTjshX5xwguzIRr28jimzpC1Ir14uC ibxESUTV6kVFJkETIhhSiaRAKCHrI8JKhhT0cD9fDse1evWysa8uSMuqDklYgLrv faIyHwAWVBnUMB+0a1FItx4iPKN1FJBrnynMy9taRqL16zaz1nMOse7b1rzttF1L lfEWmh69efv4AT/ZMv/MYte+YqWdQ+zKhdCegs+SGRyBA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 74492867 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for <53882@debbugs.gnu.org>; Tue, 8 Feb 2022 20:14:56 +0000 (UTC) From: Julien Lepiller Date: Tue, 8 Feb 2022 21:14:31 +0100 Message-Id: <811562283fa707e56679de1da9e6d8c7e941f76b.1644350657.git.julien@lepiller.eu> X-Mailer: git-send-email 2.34.0 In-Reply-To: <1dcef02fe1f5f25657c6427d09c43bfc41091050.1644350657.git.julien@lepiller.eu> References: <1dcef02fe1f5f25657c6427d09c43bfc41091050.1644350657.git.julien@lepiller.eu> 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644354742; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=72LuqkPtCC/7m/fX6j4uVtzZbZeIm0eM83FLF2V0AHU=; b=feMGhQavfyYrAG8QHykdEqOqy3EcwfUaOUVxuod4oG1BvkuuSoxBNbct/vmLCKWZkBliU5 en9vmx3Z4cvNuGL8MXA5o/2hisLXzO2J8pvGJmI0shRRE3OWkBRS1Ck0EGVgsft4kKoe6/ KPnB2LDaEvUiTroh5M98+4kUARV5S0KK3g4Dz9MRQNvO2euElKFQjnIL7iE97tkZZWHzHI z86wogZWYjMAqMnldCJI1Vo4fsLGqgXTLbl1NDiulC06+wJS4SvKNCE+kQexUJybCw+vGl BbKUh9BrHxtTGMheSbMWxvpZbm0ZhUV2zskrMMuHWavVtDxnfWPCGBPHsqWeag== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644354742; a=rsa-sha256; cv=none; b=fdEswIoEXK3ug0I/FGQoIf7iKRBF6WRMUny2iojZHbgmTk2V7lRLsspgHcA65Op+9bT4Ku evchNb3uRr+yzscDX0TYYr/broAWiEkzs6flaz/6tuOP+5Pzy2LzLnv3901CQmqhpWaqHV B4VAMDJ1fK2VGYX58RVIXp2MDaYAYREvszrCwt0pMIvGBwxRTuVv8QeRavhEL9Sig6oMKs Ijhp7eOUGmoZ5mKYrt0xDeS6Wa8QDhTOcFT7i4mJDWl0CSXBZMsk910OZzHapuwbbKm4wA ff6Ctc85hgUWdBeVZiqc6wmWUX5au+wsZcUJY8sASxPJ2dEf9TO9U6BPpG08ew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b="hH/tWAw3"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.53 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b="hH/tWAw3"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 1162C2A6DD X-Spam-Score: -0.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: BkWcIXk2Funi * gnu/packages/ocaml.scm (ocaml-ppx-typerep-conv): New variable. (ocaml4.07-ppx-typerep-conv): Inherit from it. --- gnu/packages/ocaml.scm | 57 ++++++++++++++++++++++++------------------ 1 file changed, 33 insertions(+), 24 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index d88fea9804..43b26b32da 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -6205,37 +6205,46 @@ (define-public ocaml4.07-ppx-js-style "0z3fc55jdjhhsblla6z4fqc13kljpcz29q79rvs5h2vsraqrldr2")) (properties `((upstream-name . "ppx_js_style")))))) -(define-public ocaml4.07-ppx-typerep-conv +(define-public ocaml-ppx-typerep-conv (package - (name "ocaml4.07-ppx-typerep-conv") - (version "0.11.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/janestreet/ppx_typerep_conv") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0a13dpfrrg0rsm8qni1bh7pqcda30l70z8r6yzi5a64bmwk7g5ah")))) + (name "ocaml-ppx-typerep-conv") + (version "0.14.2") + (source + (origin + (method url-fetch) + (uri "https://github.com/janestreet/ppx_typerep_conv/archive/v0.14.2.tar.gz") + (sha256 + (base32 "1g1sb3prscpa7jwnk08f50idcgyiiv0b9amkl0kymj5cghkdqw0n")))) (build-system dune-build-system) (arguments - `(#:test-target "." - #:ocaml ,ocaml-4.07 - #:findlib ,ocaml4.07-findlib - #:dune ,ocaml4.07-dune)) - (propagated-inputs - `(("ocaml-base" ,(package-with-ocaml4.07 ocaml-base)) - ("ocaml-typerep" ,ocaml4.07-typerep) - ("ocaml-migrate-parsetree" - ,(package-with-ocaml4.07 ocaml-migrate-parsetree)) - ("ocaml-ppxlib" ,(package-with-ocaml4.07 ocaml-ppxlib)))) - (properties `((upstream-name . "ppx_typerep_conv"))) + `(#:test-target ".")) + (propagated-inputs (list ocaml-base ocaml-typerep ocaml-ppxlib)) + (properties `((upstream-name . "ppx_typerep_conv") + (ocaml4.07-variant . ,(delay ocaml4.07-ppx-typerep-conv)))) (home-page "https://github.com/janestreet/ppx_typerep_conv") (synopsis "Generation of runtime types from type declarations") (description "This package can automatically generate runtime types from type definitions.") - (license license:asl2.0))) + (license license:expat))) + +(define-public ocaml4.07-ppx-typerep-conv + (package-with-ocaml4.07 + (package + (inherit ocaml-ppx-typerep-conv) + (version "0.11.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/janestreet/ppx_typerep_conv") + (commit (string-append "v" version)))) + (file-name (git-file-name "ocaml4.07-ppx-typerep-conv" version)) + (sha256 + (base32 + "0a13dpfrrg0rsm8qni1bh7pqcda30l70z8r6yzi5a64bmwk7g5ah")))) + (properties '()) + (propagated-inputs + (list ocaml-base ocaml-typerep ocaml-migrate-parsetree ocaml-ppxlib)) + (license license:asl2.0)))) (define-public ocaml-ppx-base (package -- 2.34.0