From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YIE+A0XIPWPukQAAbAwnHQ (envelope-from ) for ; Wed, 05 Oct 2022 20:09:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6C86A0XIPWPbkgAAauVa8A (envelope-from ) for ; Wed, 05 Oct 2022 20:09:09 +0200 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 CAD3A23DCC for ; Wed, 5 Oct 2022 20:09:07 +0200 (CEST) Received: from localhost ([::1]:52662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1og8pO-0001h3-4T for larch@yhetil.org; Wed, 05 Oct 2022 14:09:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54916) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1og8Yt-0004FW-3n for guix-patches@gnu.org; Wed, 05 Oct 2022 13:52:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58948) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1og8Ys-0007mx-Nn for guix-patches@gnu.org; Wed, 05 Oct 2022 13:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1og8Ys-0007G6-FI for guix-patches@gnu.org; Wed, 05 Oct 2022 13:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58310] [PATCH 11/14] gnu: Add ocaml-elpi. References: <87h70iqji2.fsf@disroot.org> In-Reply-To: <87h70iqji2.fsf@disroot.org> Resent-From: Garek Dyszel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 Oct 2022 17:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58310 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58310@debbugs.gnu.org Received: via spool by 58310-submit@debbugs.gnu.org id=B58310.166499227727775 (code B ref 58310); Wed, 05 Oct 2022 17:52:02 +0000 Received: (at 58310) by debbugs.gnu.org; 5 Oct 2022 17:51:17 +0000 Received: from localhost ([127.0.0.1]:58017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1og8Y9-0007Dv-26 for submit@debbugs.gnu.org; Wed, 05 Oct 2022 13:51:17 -0400 Received: from knopi.disroot.org ([178.21.23.139]:37478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1og8Y6-0007Dj-N3 for 58310@debbugs.gnu.org; Wed, 05 Oct 2022 13:51:15 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 08CA64C694 for <58310@debbugs.gnu.org>; Wed, 5 Oct 2022 19:51:14 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cYJbPbni-Cjq for <58310@debbugs.gnu.org>; Wed, 5 Oct 2022 19:51:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1664992272; bh=W08OVG0VIRHx1BjtBn7P6kNhM8ue4FjIWNBLh3Wa2uY=; h=From:To:Subject:Date; b=OEU8oBkVQGhLc4YtfQvGll4WXClUFZH4sQ86I33ytQug5QRDn9Y7DZyl/ntjRQqB6 fqYkCBk1wO8B5wiqDWgBJ517elwBGmJYYB/2gjkACpgjxHdtJ5Cpn2yF0OxxAmtYe5 ojZm6YlW6ltAnxGXeavLZ9NjsToxlSEx83w8L4CKGHYMnHdhbpjDYMfyBxUvtKczZ2 tD//4oVIGiQMtWnCvWM6NzEWF652xCF8XynH2LXQw62/O+Cv9wR/8Xfe65W0vNUdMq RF1scXvCxgrfpImrxPtraX2TlP/sLSyXLtubG8ORE7bs63o9Mckchtkb+WgEnJ/Oa4 hm1X/S2wyco9g== Date: Wed, 05 Oct 2022 13:51:08 -0400 Message-ID: <87r0zmp3ar.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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" Reply-to: Garek Dyszel X-ACL-Warn: , Garek Dyszel via Guix-patches From: Garek Dyszel via Guix-patches via 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=1664993348; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: 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=ZJNhWVq4VNBUWYrv/OiKhlEMoOezC7AgX3Hx1TwfAk8=; b=n1n0sJBqQPMUjv9jTb3b6BwwTyo3im6PSEbzOpyWHWtXYVNzFvVkTljnRG0PUAk/mgVE9+ PPk3sgkgQQoFIq6YfQ4NOBv8UmjGVrFoztmK6YhrWkzhFwtFDZ+HE1flXhES4n6XtZHUvY fOtGswtR230VzLZTwhXKvdvmGBPkHOMKQjrQ/FJpGpNO5ugyML/xT8YU6o/raJGpJhMdzN DAcJF30oBJNnesRDJR0UKNc7cxTi83Ph2n1950qcz69QjwAnF4tS3IH+WO8eJgbwlaeNOz nxPLiG7GVa/STbYi5XwzqW2zFI/6O9RanocEIKTCbHyvcVuT42+bVMyc4l4aqA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664993348; a=rsa-sha256; cv=none; b=aAtDkeFAnvlI1/K+vN0JoG1NISKorQfwHGLP3BujqA77SuGwX+SrcTPs9FYdyIMpCVMFkR nS8J2E5a5hj95ve74dcpKUPgzRFb7WJSjyMibyS+qltPTtfSj7R0jc7+3M5ROYdMwAj9Nx DC4sNggRSd+tWlKB94F8IfOfL3w4ZAnVdZjMMkPUw8xrTKWkPJBk/423huOfPQFK9p1hAB VCQJYXn7dGC1SwLtgJqjEJHT3Bff0G7pbnHEJVhI6Nw2ud17Wci3TrGf7Xb0dmH39SyIeP sSycT210NYHdoLmRxytrAU9PKC8knsNT8qxQBMGyU3pL5nvDKt3docAMtQy/Mg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=OEU8oBkV; dmarc=pass (policy=none) header.from=gnu.org; 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: -3.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=OEU8oBkV; dmarc=pass (policy=none) header.from=gnu.org; 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: CAD3A23DCC X-Spam-Score: -3.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: cYGkaHZe4KWD diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index bc876d60a1..641a139e51 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -5007,6 +5007,54 @@ (define-public ocaml-atd Definitions language.") (license (license:non-copyleft "LICENSE.md")))) =20 +(define-public ocaml-elpi + (package + (name "ocaml-elpi") + ;; For more information on which version works with Coq 8.16, + ;; see the relevant issue: + ;; https://github.com/math-comp/hierarchy-builder/issues/297 + ;; Here we use + ;; coq-elpi 1.15.4 + ocaml-elpi 1.16.5 + + ;; coq-mathcomp-hierarchy-builder 1.3.0 (Coq 8.16). + ;; (version "1.15.2") + (version "1.16.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/LPCIC/elpi") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + ;; "0swzqabwrxqb6sz8zpild2lfcnk3l0zxi9fw61dy2g1pzws2j2jy") + "1l6grpglkvyyj0p01l0q5ih12lp4vizamgj7i63ig82gqpyzk9dl")))) + (build-system dune-build-system) + (arguments + `(#:test-target "tests")) + ;; Build currently fails with error (repeated several times): + ;; 'Warning 6 [labels-omitted: label argsdepth was omitted in the + ;; application of this function.' + (propagated-inputs (list ocaml-stdlib-shims + ocaml-ppxlib + ocaml-menhir + ocaml-re + ocaml-ppx-deriving + ocaml-atd + ocaml-camlp-streams + ocaml-biniou + ocaml-yojson)) + (native-inputs (list ocaml-ansiterminal ocaml-cmdliner time)) + (home-page "https://github.com/LPCIC/elpi") + (synopsis "ELPI - Embeddable =CE=BBProlog Interpreter") + (description + "ELPI is an extension language for OCaml. It implements a variant of +=CE=BBProlog enriched with Constraint Handling Rules, a programming langua= ge for +manipulating syntax trees with binders. + +This package provides both a command line interpreter, elpi, and an OCaml +library with the same name.") + (license license:lgpl2.1+))) + (define-public ocaml-timed (package (name "ocaml-timed") --=20 2.37.3