From patchwork Wed Sep 7 18:33:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Garek Dyszel X-Patchwork-Id: 42289 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 3CF3027BBEA; Wed, 7 Sep 2022 19:39:08 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DDB7427BBE9 for ; Wed, 7 Sep 2022 19:39:07 +0100 (BST) Received: from localhost ([::1]:45544 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVzx5-00014x-1v for patchwork@mira.cbaines.net; Wed, 07 Sep 2022 14:39:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVzsC-0004hV-ON for guix-patches@gnu.org; Wed, 07 Sep 2022 14:34:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39299) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVzsC-0005GD-FU for guix-patches@gnu.org; Wed, 07 Sep 2022 14:34:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oVzsC-0007zA-Ah for guix-patches@gnu.org; Wed, 07 Sep 2022 14:34:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57540] [RFC PATCH v2 07/19] gnu: Add coq-mathcomp-bigenough.* gnu/packages/coq.scm (coq-mathcomp-bigenough): New variable. References: <79d544f7d8ba64b631a6f0f1d2ef0b08@disroot.org> In-Reply-To: <79d544f7d8ba64b631a6f0f1d2ef0b08@disroot.org> Resent-From: Garek Dyszel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 07 Sep 2022 18:34:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57540 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57540@debbugs.gnu.org Received: via spool by 57540-submit@debbugs.gnu.org id=B57540.166257563230616 (code B ref 57540); Wed, 07 Sep 2022 18:34:04 +0000 Received: (at 57540) by debbugs.gnu.org; 7 Sep 2022 18:33:52 +0000 Received: from localhost ([127.0.0.1]:56220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVzrz-0007xj-Of for submit@debbugs.gnu.org; Wed, 07 Sep 2022 14:33:52 -0400 Received: from knopi.disroot.org ([178.21.23.139]:47594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVzry-0007xc-HF for 57540@debbugs.gnu.org; Wed, 07 Sep 2022 14:33:50 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id DB26D40122 for <57540@debbugs.gnu.org>; Wed, 7 Sep 2022 20:33:49 +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 U2qHALa171Jq for <57540@debbugs.gnu.org>; Wed, 7 Sep 2022 20:33:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1662575628; bh=0Vm8pVtRoQ7OvMmNYDZPCZPZIjKfMA57lgPd2pijQHY=; h=From:To:Subject:Date; b=CnOmtGDsZCxOnn3EmJUUs2zTTF8scvXeNJ24oc6y+xhaNLt6beHac/9HFTdLRIkcC VKCtpO50ltiuq08J/Px4UzOUj8w4ptKrYbaFomsCd9+LFFictZ9v/bGQ0vM+NtV1IR iGC8CRumbJZ/QapO7UIIXSfYT7WWWNP7TjUAqkT9NTyLuw+6oPWWOP676p7H1Y6C+C Pq4ZT8JoRDuGl1fmla+8hpNxTm4nVe/YKYEM9qvbhPhEYiVSvRUvgYObb7qGrXUw49 f9MoQAK04FCjDDoZKgGWU1GMPTTuq/sUdSpBtXJZj8iWL5zLLLziAmzLKZ+nWL4Ot1 BOvHvmwAHWeWg== Date: Wed, 07 Sep 2022 14:33:46 -0400 Message-ID: <87k06fvxth.fsf@disroot.org> Mime-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Garek Dyszel X-ACL-Warn: , Garek Dyszel via Guix-patches X-Patchwork-Original-From: Garek Dyszel via Guix-patches via From: Garek Dyszel X-getmail-retrieved-from-mailbox: Patches * gnu/packages/coq.scm (coq-mathcomp-bigenough): New variable. --- gnu/packages/coq.scm | 50 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/coq.scm b/gnu/packages/coq.scm index d123860172..78ef5473fd 100644 --- a/gnu/packages/coq.scm +++ b/gnu/packages/coq.scm @@ -873,3 +873,53 @@ (define-public coq-mathcomp-finmap subsume notations for finite sets.") (home-page "https://math-comp.github.io/") (license license:cecill-b))) + +(define-public coq-mathcomp-bigenough + ;; On the homepage, it is mentioned that coq-mathcomp-bigenough + ;; is going to be obsolete sometime in the near future. + ;; This package was included because of the following error, + ;; encountered while building coq-mathcomp-analysis: + ;; "Warning: in file theories/altreals/realseq.v, library + ;; mathcomp.bigenough.bigenough is required and has not been + ;; found in the loadpath!" + (package + (name "coq-mathcomp-bigenough") + (version "1.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/math-comp/bigenough") + (commit version) + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "02f4dv4rz72liciwxb2k7acwx6lgqz4381mqyq5854p3nbyn06aw")))) + (build-system gnu-build-system) + (arguments + `( ;"No rule to make target 'test'. Stop." + ;; No references to tests in Makefile.common. + ;; It doesn't appear as though tests will be included + ;; by the packaged project in the future. + #:tests? #f + #:make-flags ,#~(list (string-append "COQBIN=" + #$(this-package-input "coq-core") + "/bin/") + (string-append "COQMF_COQLIB=" + (assoc-ref %outputs "out") + "/lib/ocaml/site-lib/coq") + (string-append "COQLIBINSTALL=" + (assoc-ref %outputs "out") + "/lib/coq/user-contrib")) + #:phases (modify-phases %standard-phases + (delete 'configure)))) + (propagated-inputs (list coq coq-core coq-mathcomp which)) + (home-page "https://math-comp.github.io/") + (synopsis "Small library to do epsilon - N reasoning") + (description + "The package contains a package to reasoning with big enough +objects (mostly natural numbers). This package is essentially for +backward compatibility purposes as @code{bigenough} will be subsumed by the +near tactics. The formalization is based on the Mathematical +Components library.") + (license license:cecill-b)))