From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8GTtIUxynGM58AAAbAwnHQ (envelope-from ) for ; Fri, 16 Dec 2022 14:27:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KL8UIkxynGOXngAA9RJhRA (envelope-from ) for ; Fri, 16 Dec 2022 14:27:40 +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 382FB3CC88 for ; Fri, 16 Dec 2022 14:27:40 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6Ak0-0006YR-SR; Fri, 16 Dec 2022 08:27:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6Ajw-0006Rj-SN for guix-patches@gnu.org; Fri, 16 Dec 2022 08:27:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6Ajw-0007Vp-HB for guix-patches@gnu.org; Fri, 16 Dec 2022 08:27:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p6Ajw-00039q-C6 for guix-patches@gnu.org; Fri, 16 Dec 2022 08:27:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60120] [PATCH 26/28] gnu: Add ocaml5.0-merlin-lib. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 16 Dec 2022 13:27:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60120 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60120@debbugs.gnu.org Cc: pukkamustard Received: via spool by 60120-submit@debbugs.gnu.org id=B60120.167119719612049 (code B ref 60120); Fri, 16 Dec 2022 13:27:04 +0000 Received: (at 60120) by debbugs.gnu.org; 16 Dec 2022 13:26:36 +0000 Received: from localhost ([127.0.0.1]:49356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6AjT-00038B-Rv for submit@debbugs.gnu.org; Fri, 16 Dec 2022 08:26:36 -0500 Received: from mout02.posteo.de ([185.67.36.66]:54477) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6Aj0-000334-CT for 60120@debbugs.gnu.org; Fri, 16 Dec 2022 08:26:07 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id D916D240105 for <60120@debbugs.gnu.org>; Fri, 16 Dec 2022 14:26:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1671197160; bh=FRcuykeBeV7g0b10my95kJ6tzpufv2aB9hZyzJDs/lk=; h=From:To:Cc:Subject:Date:From; b=YrV4Jdfp8ULm9Qok6wk5BekXN1YyFVK0mw0vqkTqc4JqWTaqgJL2WbAKVZWscd7uB Q9mT3YfWow69fpv9ZIzBegPL43FlCDLQBesLDnBksPSi3VKVSIk6ey9J+fDBHCRjOn lL8FZzjfR5Sn65v/AUqDm9LPK+m0w9PtCqM+DMptCbpXqV3pb88i07Kc+1nVMLRx6P LfGJuMz5tfUBN/RKKBI3kOFmZX2lRdvwm2TcrgxhbbBdY1jAkxLKC68Fkgr9XAAYgx mP5je0x5VhYKZ3Mo9ivrBErURLk0axZPIFr287PfRcF+B9kJg2NBrhE+YABVMM5qGf MQ9kksmcsOarg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NYVGw2Zxlz6tm4; Fri, 16 Dec 2022 14:26:00 +0100 (CET) From: pukkamustard Date: Fri, 16 Dec 2022 13:25:25 +0000 Message-Id: <20221216132527.2539-26-pukkamustard@posteo.net> In-Reply-To: <20221216132527.2539-1-pukkamustard@posteo.net> References: <20221216132224.2229-1-pukkamustard@posteo.net> <20221216132527.2539-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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671197260; a=rsa-sha256; cv=none; b=rgMn55yI3RLIjuIbTSM0CfdZWokjlZrl9j5ImYMXguUfg4y/mywhrzX76PRWFI1lvElltT Dlvo0kS63qsVb9ZhS1yCvTInO2QkDDN3NL3VJAWuOtLOiBFmVN/9YvkpCooxQmuSJcov0C GXtQkaNVYjiSArQb0PV/nBNCyaWML27MZuJcEsFL8lvkIvZeRzlLDQKY75fTQLMtIj21Rc r+KmVrCtCYy8D4RgCsjSGRfPoQ1khVr+qcsCd9Om9YpmrADdwZPiXtUCMPI4N3lz66ONTD o0eMvj7GfMDKvSZXnqJhk+j2nX3gF0N0ZGDVLFJacTldLmZcSQp7y/6tswgATA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=YrV4Jdfp; 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"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671197260; 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=8C/WifwR3dTkc5n3ntB4WD0vLN+Lqq7fGmzS9+NDQHk=; b=rgwlXWlEjzWsv3D2Z58ovXxs3Yv+pQ1x8liTSOetzEzCVKZUNep3yIIdE5cK7Syfp3eKgl pVyqi7Jx08XtAmpO6CgNVQlWU8I4sKaCt0TuN7kneUmkn26x7zeVLh3qEJfm0MZckmz4uE NThpHdJu+LnbVwF7F1c20ABqllmMMUnKU7Yso/pKT6Qy30UJAczMuWZ6+bN51nZMF527Af UJd6MOxgAFwudIK7o+TQobZ/m2TyaFvFLv2sVe8+zMXmdfhm08PCJNGf7N8KVaqT83bxu1 xuF+2J/+BSUdt3qt9r2z9qgLrJqWkIPWsjyLpNirHlSSvh+uFdIandI2U/EtmA== X-Migadu-Spam-Score: 7.33 X-Spam-Score: 7.33 X-Migadu-Queue-Id: 382FB3CC88 X-Migadu-Spam: Yes X-Spam: Yes Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=YrV4Jdfp; 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"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) X-Migadu-Scanner: scn1.migadu.com X-TUID: fBPFdyay+4QF * gnu/packages/ocaml.scm (ocaml5.0-merlin-lib): New variable. --- gnu/packages/ocaml.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index f9dc9998c1..1b3e51001f 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -5370,12 +5370,34 @@ (define-public ocaml-merlin-lib (arguments '(#:package "merlin-lib" #:tests? #f)) ; no tests (propagated-inputs (list ocaml-csexp ocaml-menhir)) + (properties `((ocaml5.0-variant . ,(delay ocaml5.0-merlin-lib)))) (home-page "https://ocaml.github.io/merlin/") (synopsis "Merlin libraries") (description "These libraries provides access to low-level compiler interfaces and the standard higher-level merlin protocol.") (license license:expat))) +;; the 500 indicates that this version is for OCaml 5.0 +(define ocaml-merlin-lib-500 + (package + (inherit ocaml-merlin-lib) + (name "ocaml-merlin-lib") + (version "4.7.1-500") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ocaml/merlin") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "05a87i2dkzv800nwb6y7b2j45avg8gs3gzb5a98wrj1i5zjqwh01")))) + (properties '()))) + +(define-public ocaml5.0-merlin-lib + (package-with-ocaml5.0 ocaml-merlin-lib-500)) + (define-public ocaml-dot-merlin-reader (package (inherit ocaml-merlin-lib) -- 2.38.1