From patchwork Sat Feb 2 10:51:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Gabriel Hondet X-Patchwork-Id: 972 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 54C4516B45; Thu, 7 Feb 2019 07:06:09 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id DCAC116ADC for ; Thu, 7 Feb 2019 07:06:08 +0000 (GMT) Received: from localhost ([127.0.0.1]:35402 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grdlA-0006CN-Ho for patchwork@mira.cbaines.net; Thu, 07 Feb 2019 02:06:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grdl5-0006C2-By for guix-patches@gnu.org; Thu, 07 Feb 2019 02:06:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grdl4-0004Dq-E6 for guix-patches@gnu.org; Thu, 07 Feb 2019 02:06:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37202) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1grdl4-0004Dh-52 for guix-patches@gnu.org; Thu, 07 Feb 2019 02:06:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1grdl3-00046g-Sp for guix-patches@gnu.org; Thu, 07 Feb 2019 02:06:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34361] [PATCH 4/4] gnu: Add lambdapi. References: <87lg2sf6az.fsf@gmail.com> In-Reply-To: <87lg2sf6az.fsf@gmail.com> Resent-From: Gabriel Hondet Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Feb 2019 07:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34361 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34361@debbugs.gnu.org Received: via spool by 34361-submit@debbugs.gnu.org id=B34361.154952314415762 (code B ref 34361); Thu, 07 Feb 2019 07:06:01 +0000 Received: (at 34361) by debbugs.gnu.org; 7 Feb 2019 07:05:44 +0000 Received: from localhost ([127.0.0.1]:36483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grdkm-00046A-Gf for submit@debbugs.gnu.org; Thu, 07 Feb 2019 02:05:44 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:43616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grdkk-00045t-06 for 34361@debbugs.gnu.org; Thu, 07 Feb 2019 02:05:42 -0500 Received: by mail-wr1-f67.google.com with SMTP id r2so10224289wrv.10 for <34361@debbugs.gnu.org>; Wed, 06 Feb 2019 23:05:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=nC8+KxZE38OipeEDkEeLsFA7Hz5wZTQnZihmjOsb26k=; b=vbTqJoPtp6iW59N35vFlE2XoLEoN4MrxqklWrgVFJjD+A5QY8x80OanfVHsSqvapu8 aryItgdL2Jg3Z1P08PKBZmvG5yMqmC/9Y1PxpVKof+Xcl0OodOEHDYJcSKnpOLAvoDC+ uN3E/rwWg1KplaaF7rOKa+RqILcyjk13mAbRnlqEfLYYx4W+yIAC77JxN5kR9eBb26No 3cpMmjmvwIjU1PtKmoROp+3mllVdo0D2hCB9zGEV82ZF2sr2jplxobO3u2wYUTtiVr7e 8UG+Y/cvFrURmu3Cd+uz19/POSdAcYIqId8xe4EjEl25bk54jE8mWTXpLRk8dXhq93qR iVwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=nC8+KxZE38OipeEDkEeLsFA7Hz5wZTQnZihmjOsb26k=; b=BN9qmcSSCTOY0ZgMnnZtO+S8r6nhcEKzneGape4Fs9JmQgIR/Z+N0sGBMy2CWI1CUV DjbMle/iTkoDC0mW28i48x/Wq5p7zL1Gxh7UC03joAwr7/w2v6xua9Vub/jp+O2K7bbV VuufSDQg8baGElB1ttybPjzTFUZXpY7cvgzrkh8irkWrCHfdQx1mfAQfA3nJqW5gLeyL Us8TWY2pqLCl37A6fP0OZ3kPLbJbs1ZjzhRtKC9ohwxYtr+yEM1li87vFTWiF8/VGbF4 RwZ5hLXPpJY6mSXlyUF1QQi30Vmfb5a1MUCmj1VwmKNObveslmtGij7wfCZCuPZYnA50 UoEQ== X-Gm-Message-State: AHQUAuYUXMWiq0Rh7OEJoscL43x7jIlJrHmYnXhJ8RBFgeWgioiplRCx WZFpvWDm40E3EusbzbMI2Qdj5Eq/ X-Google-Smtp-Source: AHgI3IbXGz0oIfnWilf1iazHQBLgcgZu13HkdDgwSRzme6ODnbfBc6WMa/Cx0o0KRYvKWybhkoKChg== X-Received: by 2002:a5d:4bc7:: with SMTP id l7mr10583100wrt.242.1549523136085; Wed, 06 Feb 2019 23:05:36 -0800 (PST) Received: from glht-aurore.gmail.com (2a01cb04062c860082fa5bfffe3823d7.ipv6.abo.wanadoo.fr. [2a01:cb04:62c:8600:82fa:5bff:fe38:23d7]) by smtp.gmail.com with ESMTPSA id a12sm40824987wro.18.2019.02.06.23.05.35 for <34361@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Feb 2019 23:05:35 -0800 (PST) User-agent: mu4e 1.0; emacs 26.1 From: Gabriel Hondet Date: Sat, 2 Feb 2019 11:51:25 +0100 Message-ID: <87h8dgf58h.fsf@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ocaml.scm (lambdapi): New variable. --- gnu/packages/ocaml.scm | 57 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 34229107f..227a87287 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -4843,6 +4843,63 @@ of the standard library (Pervasives module). However, it is less efficient than the first one.") (license license:expat))) +(define-public lambdapi + (package + (name "lambdapi") + (version "1.0") + (home-page "https://github.com/Deducteam/lambdapi") + (source (origin + (method git-fetch) + (uri (git-reference + (url (string-append home-page ".git")) + (commit (string-append name "-" version)))) + (modules '((guix build utils))) + (snippet '(begin + ;; 'Earley_core' not opened in the files + (substitute* '("src/pos.ml" + "src/parser.ml" + "src/lambdapi.ml") + (("(Input|Earley|Charset)" all) + (string-append "Earley_core." all))))) + (sha256 + (base32 + "0kf31xcwsgvadf3kfw8ipwkgcwh99xwb8adx8ap8sd7b4pwa5rc0")) + (file-name (git-file-name name version)))) + (build-system dune-build-system) + (inputs + `(("ocaml-yojson" ,ocaml-yojson) + ("ocaml-easy-format" ,ocaml-easy-format) + ("ocaml-biniou" ,ocaml-biniou) + ("ocaml-menhir" ,ocaml-menhir) + ("ocaml-cmdliner" ,ocaml-cmdliner) + ("ocaml-ppx-inline-test" ,ocaml-ppx-inline-test) + ("ocaml-timed" ,ocaml-timed) + ("ocaml-bindlib" ,ocaml-bindlib) + ("ocaml-earley" ,ocaml-earley) + ("ocamlbuild" ,ocamlbuild))) ;ocamlbuild for tests + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "make" "real_tests") + #t))))) + (synopsis "Extension of Dedukti with metavariables and tactics") + (description "Lambdapi is an implementation of the λΠ-calculus modulo +rewriting, which is the system of @url{https://github.com/Deducteam/Dedukti, +Dedukti}. Lamdapi is +@itemize +@item +a logical framework, +@item +a tool for interoperability of proof systems, +@item +an interactive proof system, +@item +an experimental proof system. +@end itemize") + (license license:lgpl2.1))) + (define-public ocaml-biniou (package (name "ocaml-biniou")