guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#57540] [RFC PATCH v2 07/19] gnu: Add coq-mathcomp-bigenough.* gnu/p


From: Garek Dyszel
Subject: [bug#57540] [RFC PATCH v2 07/19] gnu: Add coq-mathcomp-bigenough.* gnu/packages/coq.scm (coq-mathcomp-bigenough): New variable.
Date: Wed, 07 Sep 2022 14:33:46 -0400

* 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)))
-- 
2.37.2







reply via email to

[Prev in Thread] Current Thread [Next in Thread]