From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EN6KGLHcAmKG/AAAgWs5BA (envelope-from ) for ; Tue, 08 Feb 2022 22:12:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sJX+FbHcAmIQ8QAA9RJhRA (envelope-from ) for ; Tue, 08 Feb 2022 22:12:17 +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 1CE173928D for ; Tue, 8 Feb 2022 22:12:16 +0100 (CET) Received: from localhost ([::1]:49094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHXmZ-0001Oz-So for larch@yhetil.org; Tue, 08 Feb 2022 16:12:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHWuB-0000ay-HJ for guix-patches@gnu.org; Tue, 08 Feb 2022 15:16:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54941) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHWuB-0007Wm-7q for guix-patches@gnu.org; Tue, 08 Feb 2022 15:16:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHWuB-0002aC-4q for guix-patches@gnu.org; Tue, 08 Feb 2022 15:16:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53882] [PATCH 04/24] gnu: Add ocaml-typerep. 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.16443513079590 (code B ref 53882); Tue, 08 Feb 2022 20:16:03 +0000 Received: (at 53882) by debbugs.gnu.org; 8 Feb 2022 20:15:07 +0000 Received: from localhost ([127.0.0.1]:48777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHWtG-0002UW-K8 for submit@debbugs.gnu.org; Tue, 08 Feb 2022 15:15:06 -0500 Received: from lepiller.eu ([89.234.186.109]:47112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHWtB-0002TE-W4 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 f14801b6 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=g+16FiX4nVvlY8IfkYX8+xG1W wgaoJSZNlFWkYYokFA=; b=e1TsXQIMAvJkHpTLW01DahfOJWIMOljC/0bPvPwu3 PZm8rRUMi8WX+Q47LqPD0gGAjBSs877yCm1si+s3Q4jQSPPbYYugqiMwcnt+690t twYFMKftngiNrm1i+5zHPCP7hxv38BjiEjF1Fr0+Izt3H/UNPN8wFIIE9oW4D/Pw zApw6oWgJm5FLCv3HEnzcjI/TAhgPBVstdtOxPlBw9/Zp4bXwMo4fvm83WsCM9hC nfwYMZr5llq21fLKm8WcecFJ0Wc9b5zXdt7pjhZgUcHxK81cgFxhbmEZImt3EVI7 XEWH5mzbDmaa/aBk3dIp3MOnbxcvnyM3kKnoV8qxrPmkg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 5a5c40e3 (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:30 +0100 Message-Id: <9b8b11fe1c21aa453a62a6f6b010349387bac11e.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=1644354737; 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=dU0DbkbD50eey3YrtY1/eY169HUfoUAPhCtpP6wM0VM=; b=Qupvw/EkHmfwp2TxGjnRGbmTKEJij7v2iQqnPRZta5YLZAHzUQNoRMmymxSrV9tCGjQGMq Lp1nSEnZV4jCA5naY0kKiCJmaFTt8DWXMl2ATCO3l+U/7DctHjylVjGgLAIiBZmnxT7E+D nyEwu+W/1Fg+FLwb0hiCoqKivQ7ibIh3SBs4OfVlr0ewdBLNWdlc9bFz2iv2sIbu9YlEkL OqH2rv1a5e6HQJzxX20vsWAV2lvtDs+mzYuDJ75wUi84oRlVzYTxAO/sVWThSK3bCD2XGn 8gxbmnM2Bs5bchMaQdBVZvSeLaA7ZFJSRPDQIR2BcTV2tbna1Vf1cS4KPy6F3w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644354737; a=rsa-sha256; cv=none; b=Z0DdYu/7htVwJm9OoTbE/eZjrKzUOlN5iwNk1w09kZB/xnyX4Ndv2A2a5AMpzTf8XGJ6IO Jml1etQZxkwY/pbfOd+hMZntK0qCUNHxgx4NjJZHB2z1xfxxEsTbPNBPSelDv5gQ2Zj4CF rmlbMLM57kKM/fv48hOxk1lwM/NjdibmPMvpJvES9Q11dGFd7o3xXAi34lHLijfpkXBWGx 5aBY96qKgcdPuaskcn/zeHXOSGBc3JuQiK1NhyZJbR3paC2XvTLMU+bALUMTc9gHbltuXR 5hiXYil6YWtkcdhXI882yZU2sXo0jp1TCZgrQD+bBxbItuwLH/hPxueCfo7sKQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=e1TsXQIM; 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=e1TsXQIM; 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: 1CE173928D X-Spam-Score: -0.53 X-Migadu-Scanner: scn1.migadu.com X-TUID: lqGii6D1Pcv/ * gnu/packages/ocaml.scm (ocaml-typerep): New variable. (ocaml4.07-typerep): Inherit from it. --- gnu/packages/ocaml.scm | 50 +++++++++++++++++++++++++++--------------- 1 file changed, 32 insertions(+), 18 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index ad2e5fc158..d88fea9804 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -5788,29 +5788,43 @@ (define-public ocaml4.07-ppx-here "0wxcak3ay4jpigm3pfdcpr65qw4hxfa8whhkryhcd8gy71x056z5")) (properties `((upstream-name . "ppx_here")))))) -(define-public ocaml4.07-typerep +(define-public ocaml-typerep (package - (name "ocaml4.07-typerep") - (version "0.11.0") - (source (origin - (method url-fetch) - (uri (string-append "https://ocaml.janestreet.com/ocaml-core/v" - (version-major+minor version) - "/files/typerep-v" version ".tar.gz")) - (sha256 - (base32 - "1zi7hy0prpgzqhr4lkacr04wvlvbp21jfbdfvffhrm6cd400rb5v")))) + (name "ocaml-typerep") + (version "0.14.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/janestreet/typerep") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0wc7h853ka3s3lxxgm61ypidl0lzgc9abdkil6f72anl0c417y90")))) (build-system dune-build-system) - (arguments - `(#:tests? #f - #:ocaml ,ocaml-4.07 - #:findlib ,ocaml4.07-findlib - #:dune ,ocaml4.07-dune)) - (propagated-inputs `(("ocaml-base" ,(package-with-ocaml4.07 ocaml-base)))) + (arguments `(#:tests? #f)); no tests + (propagated-inputs (list ocaml-base)) + (properties `((ocaml4.07-variant . ,(delay ocaml4.07-typerep)))) (home-page "https://github.com/janestreet/typerep") (synopsis "Typerep is a library for runtime types") (description "Typerep is a library for runtime types.") - (license license:asl2.0))) + (license license:expat))) + +(define-public ocaml4.07-typerep + (package-with-ocaml4.07 + (package + (inherit ocaml-typerep) + (version "0.11.0") + (source (origin + (method url-fetch) + (uri (string-append "https://ocaml.janestreet.com/ocaml-core/v" + (version-major+minor version) + "/files/typerep-v" version ".tar.gz")) + (sha256 + (base32 + "1zi7hy0prpgzqhr4lkacr04wvlvbp21jfbdfvffhrm6cd400rb5v")))) + (properties '()) + (license license:asl2.0)))) (define-public ocaml4.07-ppx-sexp-value (package -- 2.34.0