From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 kJ3RKJvkGGO/pgAAbAwnHQ (envelope-from ) for ; Wed, 07 Sep 2022 20:36:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wAMZKJvkGGN0XgEAG6o9tA (envelope-from ) for ; Wed, 07 Sep 2022 20:36:11 +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 42722196D1 for ; Wed, 7 Sep 2022 20:36:11 +0200 (CEST) Received: from localhost ([::1]:46298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVzuE-00064r-4R for larch@yhetil.org; Wed, 07 Sep 2022 14:36:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVzsD-0004iE-6l for guix-patches@gnu.org; Wed, 07 Sep 2022 14:34:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39300) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVzsC-0005GJ-TU 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-0007zI-PP 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 08/19] gnu: Add coq-mathcomp-analysis.* gnu/packages/coq.scm (coq-mathcomp-analysis): 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.166257563830636 (code B ref 57540); Wed, 07 Sep 2022 18:34:04 +0000 Received: (at 57540) by debbugs.gnu.org; 7 Sep 2022 18:33:58 +0000 Received: from localhost ([127.0.0.1]:56223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVzs5-0007y3-9i for submit@debbugs.gnu.org; Wed, 07 Sep 2022 14:33:57 -0400 Received: from knopi.disroot.org ([178.21.23.139]:48328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVzs3-0007xv-TW for 57540@debbugs.gnu.org; Wed, 07 Sep 2022 14:33:56 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 4246140121 for <57540@debbugs.gnu.org>; Wed, 7 Sep 2022 20:33:55 +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 fcLFxkWMD1VF for <57540@debbugs.gnu.org>; Wed, 7 Sep 2022 20:33:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1662575633; bh=yGgZnp5IMdYK/UCQp/JZeOcggsUc6UUGx418O6fjyQ0=; h=From:To:Subject:Date; b=LfA/9D0i9KwTulektjQ4bXO2C5uP+jH0s4b7Jl6x5wy9knHMWTuzaVDdmZxpiqquq oySS4Wd7DGKSQnw9rvR9R4hltWwHX8zfkR+pLr8QMup8ngCh7r0jasd1jy+OwID2j2 TtZhFZQnjZ03Fnx4JYabrtGKag+Csf/k2ICTk8U91H/BzOtL9Kst8tH8se0WDKyUQF G8jM3sAXmx4BvdzzxZAAnl1fOb/iqK3FI3jOWH1wAfPRV2qC1jCxpfTvj9+ypeu57o PkIDzpRA5onmbXe4s+45TxVDAYkE2Hb2DHnI4LHNxrRm9yegoTNhtCPgjeia+w5QqD iLlXhdScXC52Q== Date: Wed, 07 Sep 2022 14:33:50 -0400 Message-ID: <87illzvxtd.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain 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-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=1662575771; 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: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=Nj146VOfbzM2oIngHfJ+W1B9O0A7zfUBhZ+/6Aap6lU=; b=ZLoh8Z81cmQdVXYjnQOEgtRv3snoiXEZKbsAQS3gSm9Or6Qmije1YnSZ96UZFvIhoSQi9J qdk5QuTuS3xiglktqlwYj4VInhumdsysHSc3oIvgioa1iAOt54l8RNPYOnw3DvLXaPojpO ueGnE0t4RfrcJTQiNPKDDMlgMvDw1Y64HZQhPd+gaJQOXp9uj64YF7+CDSBoxnZqIiwaVZ FTiJWlBaBF/meamd9SCaBpWZx1cJtxpijVKk6p+KO/3VhwP/+GF1rYpZb7yJyJAkjQT51w bSzYSAQ5aKWogHDDB+5H5cYICZGgslTH3+k5rh127KL0QrnCeHG3NhuK2A0W8w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662575771; a=rsa-sha256; cv=none; b=uAKiJD8gODzBSVxAsUsX89iDuaXOstKGTa6/VMcLS58qawO1kT0oLLAA8D7l3ElTfi00Bc BB1siY+CzUIQ87DYE2Sf9px0yuuaGIEnQmZOQ6L0KiITP3uFIGs0Yg2dfhnkl1Ju0ZE7yV cLyCgOAIcNiOVhcnzKhZ1pdBd2XMLiHMH+YeVINscgI4Xc8cWyYK9lWQtJlTZGETOX/Jkw bSObtkcmdcEZ+4DDwDHAVWjPpM51OcFn+Qou+3MWyBqWFuCtP6ZKw2KpICd7EEECRQ8lT4 KHF5o4EV5AONDlEYohVwFk93egc7TwlwQc5cEL36bG6pB3ZovgnCdxzHapfNUg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b="LfA/9D0i"; 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: -2.78 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b="LfA/9D0i"; 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: 42722196D1 X-Spam-Score: -2.78 X-Migadu-Scanner: scn1.migadu.com X-TUID: kUQuJZULy934 * gnu/packages/coq.scm (coq-mathcomp-analysis): New variable. --- gnu/packages/coq.scm | 66 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/gnu/packages/coq.scm b/gnu/packages/coq.scm index 78ef5473fd..036134b8ff 100644 --- a/gnu/packages/coq.scm +++ b/gnu/packages/coq.scm @@ -923,3 +923,69 @@ (define-public coq-mathcomp-bigenough near tactics. The formalization is based on the Mathematical Components library.") (license license:cecill-b))) + +(define-public coq-mathcomp-analysis + (package + (name "coq-mathcomp-analysis") + (version "0.5.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/math-comp/analysis") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1l1yaxbmqr4li8x7g51q98a6v383dnf94lw1b74ccpwqz9qybz9m")))) + (build-system gnu-build-system) + (arguments + `( ;No rule to make target 'check'. Stop. + ;; Makefile.common has no references to tests. + ;; There are also no references to tests found after + ;; running the following commands in the top + ;; directory of the cloned repo: + ;; find -type d | grep -i test + ;; rg test # where rg is ripgrep + ;; Checking the git log, we find: "Add test suite for + ;; joins and several fixes". + ;; + ;; If tests are included, this quote suggests that they + ;; would be part of the source files themselves, + ;; and the tests would be run as part of the build + ;; process. + #:tests? #f + #:make-flags ,#~(list (string-append "COQBIN=" + #$(this-package-input "coq-core") + "/bin/") + (string-append "COQBININSTALL=" + (assoc-ref %outputs "out") "/bin/") + (string-append "DESTDIR=" + (assoc-ref %outputs "out")) + (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) + (replace 'build + (lambda* (#:key make-flags #:allow-other-keys) + (apply invoke "make" "build" make-flags)))))) + (inputs (list coq + coq-stdlib + coq-mathcomp + coq-mathcomp-finmap + coq-mathcomp-hierarchy-builder + coq-elpi + coq-mathcomp-bigenough + coq-core + which + python)) + (synopsis "Real analysis for the Coq proof assistant") + (description + "This repository contains an experimental library for +real analysis for the Coq proof-assistant, using the Mathematical +Components library.") + (home-page "https://math-comp.github.io/") + (license license:cecill-c))) -- 2.37.2