From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 uBVWIhcwwGJ2DQAAbAwnHQ (envelope-from ) for ; Sat, 02 Jul 2022 13:46:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CGJbIRcwwGJgRgAAG6o9tA (envelope-from ) for ; Sat, 02 Jul 2022 13:46:31 +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 2E782ABA9 for ; Sat, 2 Jul 2022 13:46:30 +0200 (CEST) Received: from localhost ([::1]:50960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7ba1-0000Qi-B7 for larch@yhetil.org; Sat, 02 Jul 2022 07:46:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7bWg-0005Pc-Md for guix-patches@gnu.org; Sat, 02 Jul 2022 07:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46113) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o7bWg-0001zI-Ba for guix-patches@gnu.org; Sat, 02 Jul 2022 07:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o7bWg-0001fZ-7Z for guix-patches@gnu.org; Sat, 02 Jul 2022 07:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56356] [WIP PATCH] gnu: dedukti: Update to 1.7. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 02 Jul 2022 11:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56356 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56356@debbugs.gnu.org Cc: Gabriel Hondet X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16567621416368 (code B ref -1); Sat, 02 Jul 2022 11:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jul 2022 11:42:21 +0000 Received: from localhost ([127.0.0.1]:40010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7bW1-0001ee-DE for submit@debbugs.gnu.org; Sat, 02 Jul 2022 07:42:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:43224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7bVz-0001eW-9g for submit@debbugs.gnu.org; Sat, 02 Jul 2022 07:42:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7bVx-0004vA-Gb for guix-patches@gnu.org; Sat, 02 Jul 2022 07:42:18 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:60026) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7bVq-0000os-MC for guix-patches@gnu.org; Sat, 02 Jul 2022 07:42:15 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 168d0d08; Sat, 2 Jul 2022 11:42:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:mime-version:content-type; s=dkim; bh= GG4vTJiuIim1+5CrN3DJAxkq4csVWNgtxBYMeDTqwnk=; b=Mdoi1yY2by1scMe2 fJpdCDHY3AQeD/ENP7qopRg6n64l+IG2u9Jt60F5K6n1cdpPk6j9j2vTDRAtllYP mHrDiNizJsQRgVHuqCbKQgFnj0fylISxqZkYWIFUEPH+0ixwFa6OtPv3NgA3MAA9 pnd8LjLqFoYArVUaSOv2RD2//EUKB4WbYu91FItZfskArtRwxUYfxl+st7kUmx4O g8bStHTBrtE3rQOn0/wSiD7Pc8pqwYXw2p6wvQBpaINcGarq4OFs9OMOU5uJHv4n lmXIU9460gD7dEMrs/cGYudsgHiaUZJCb/tme5tyQZsJajTXZrRxqHShh8ZixsCJ sbr1Xw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id a366ab95 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 2 Jul 2022 11:42:04 +0000 (UTC) Date: Sat, 2 Jul 2022 13:42:01 +0200 From: Julien Lepiller Message-ID: <20220702134201.3cf338e1@sybil.lepiller.eu> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/lxQYYl5gP8w003p7O312bpE" Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656762391; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=YB4NaEeBp3OpW49HRuAv0+ETsJuxMjRHUC0E10Kkb/U=; b=hfca12uS1NKp/AuIlg1nxBH7r84JV33U3kUn3RpBNufDUinlo8SCIlhvAGhDtYRfeezBwT 89M8xGNQsWdzO8DeydyAiUvFcQJ42+QpE2Zb5y9n9x0ohpekfXziFqVCC/ri8E5zVcfySD WFyB9gv15717tVZNYZgn7J3vohIcX6sGuC3Fsf9SngyoPDga5yD5EAC2ah7hQ7bSg7zmZK odCoZPHpaYukyAcH9IwJxlR93fAR5XHrOhuxezqLIMyzg27lK2Rw+o5HdgTTsgti55gTD1 uV+QiWBgg3Knryx1fDv4utNtQiog+U3rt8q4pzKN64wFM3hVLixRmm+dsJiKMA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656762391; a=rsa-sha256; cv=none; b=gBDaUqbCddbxeSxJ7PRK2dmS975n/7AGBozmTdCjpdc7X2VTy2+kzVH0dnV9OMhgTXe/n9 +zf0xnR+8lCe8ki7IXKUeyVcxOjd6B9WAZEEB2K2mAfLq8h5YbggHS8OQCvZfGJy1voXLk uOdK0fV8bIltUhUHmQEWGnZzP/B/mH14PVo02tFkjfgV7umax0Zk3dew9aKLl8rRyYhANt q1oCg9ouwVpyX/kWTako/oixUEvZrvvuA0x4y61qV7ZOiDYJ++RmrhUBd+br70xpQPgu0T KqY57atyTsWD+NnUS4S6g75FOBiVujQ6lq0/+jgdBSH50M1e7/2LlduuEN5mdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=Mdoi1yY2; 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: 5.85 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=Mdoi1yY2; 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: 2E782ABA9 X-Spam-Score: 5.85 X-Migadu-Scanner: scn1.migadu.com X-TUID: um3O21Igbv/+ --MP_/lxQYYl5gP8w003p7O312bpE Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Guix and Gabriel, Gabriel, since you provided the initial patch to add dedukti and the emacs mode, I thought you might be interested, so I CC'd you. Feel free to ignore if you've moved to something else :) Attached is a patch to update dedukti to the latest version, 1.7. The patch works and dedukti seems to be working, though I don't really know how to use it, so maybe not :) The issue is with its dependent emacs-dedukti-mode. It embeds a reference to the "dkcheck" tool that does not exist in this version of the package. Instead, you're supposed to call "dk check" (the --help still mentions dkcheck, so maybe I did something wrong in packaging?) I noticed that emacs-dedukti-mode is 5 years old and unmaintained upstream, while there is a dedukti-mode provided in the git repository of dedukti that is only 2 years old. I don't use emacs and I don't know how to solve this issue, so I'm not updating the package yet. I'd appreciate some help, either to find a better substitution pattern in the current emacs-dedukti-mode package, or to package the one provided by dedukti, or maybe to figure out another direction I didn't see :) --MP_/lxQYYl5gP8w003p7O312bpE Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0001-gnu-dedukti-Update-to-2.7.patch =46rom cd89e04ea72c18d59a01baccc9311b5070c845a4 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 2 Jul 2022 13:36:08 +0200 Subject: [PATCH] gnu: dedukti: Update to 2.7. * gnu/packages/ocaml.scm (dedukti): Update to 2.7. --- gnu/packages/ocaml.scm | 31 ++++++------------------------- 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index cd8778231e..e3a4bb15ce 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -4506,7 +4506,7 @@ (define-public ocaml-tsdl (define-public dedukti (package (name "dedukti") - (version "2.6.0") + (version "2.7") (home-page "https://deducteam.github.io/") (source (origin @@ -4517,31 +4517,12 @@ (define-public dedukti (file-name (git-file-name name version)) (sha256 (base32 - "0frl3diff033i4fmq304b8wbsdnc9mvlhmwd7a3zd699ng2lzbxb")))) - (inputs - `(("menhir" ,ocaml-menhir))) - (native-inputs - (list ocamlbuild)) - (build-system ocaml-build-system) + "1dsr3s88kgmcg3najhc29cwfvsxa2plvjws1127fz75kmn15np28")))) + (build-system dune-build-system) (arguments - `(#:phases - ,#~(modify-phases %standard-phases - (delete 'configure) - (replace 'build - (lambda _ - (invoke "make"))) - (replace 'check - (lambda _ - (invoke "make" "tests"))) - (add-before 'install 'set-binpath - ;; Change binary path in the makefile - (lambda _ - (substitute* "GNUmakefile" - (("BINDIR =3D (.*)$") - (string-append "BINDIR =3D " #$output "/bin"))))) - (replace 'install - (lambda _ - (invoke "make" "install")))))) + `(#:test-target "tests")) + (inputs (list gmp ocaml-cmdliner ocaml-z3 z3)) + (native-inputs (list ocaml-menhir)) (synopsis "Proof-checker for the =CE=BB=CE=A0-calculus modulo theory, = an extension of the =CE=BB-calculus") (description "Dedukti is a proof-checker for the =CE=BB=CE=A0-calculus= modulo --=20 2.36.1 --MP_/lxQYYl5gP8w003p7O312bpE--