guix-patches
[Top][All Lists]
Advanced

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

[bug#57540] [PATCH 5/6] gnu: Add coq-mathcomp-finmap.


From: Garek Dyszel
Subject: [bug#57540] [PATCH 5/6] gnu: Add coq-mathcomp-finmap.
Date: Fri, 02 Sep 2022 11:24:52 -0400

* gnu/packages/coq.scm (coq-mathcomp-finmap)
---
 gnu/packages/coq.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/coq.scm b/gnu/packages/coq.scm
index bb4788a..f0aa233 100644
--- a/gnu/packages/coq.scm
+++ b/gnu/packages/coq.scm
@@ -834,3 +834,38 @@ (define-public coq-mathcomp-hierarchy-builder
     (home-page "https://math-comp.github.io/";)
     ;; MIT license
     (license license:expat)))
+
+(define-public coq-mathcomp-finmap
+  (package
+    (name "coq-mathcomp-finmap")
+    (version "1.5.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/math-comp/finmap";)
+                    (commit version)
+                    (recursive? #t)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+ "1k72wpp15xa5ag358jl8a71gschng0bgbaqjx0l5a0in6x5adafh"))))
+    (build-system gnu-build-system)
+    (arguments
+     `( ;"No rule to make target 'check'."
+       ;; No tests supplied in Makefile.common.
+       #:tests? #f
+       #:make-flags (list (string-append "COQLIBINSTALL="
+                                         (assoc-ref %outputs "out")
+                                         "/lib/coq/user-contrib"))
+       #:phases (modify-phases %standard-phases
+                  (delete 'configure))))
+    (inputs (list coq coq-stdlib coq-mathcomp which))
+    (synopsis "Finite sets and finite types for coq-mathcomp")
+    (description
+ "This library is an extension of coq-mathcomp which supports finite sets +and finite maps on choicetypes (rather than finite types). This includes +support for functions with finite support and multisets. The library also +contains a generic order and set libary, which will eventually be used to
+subsume notations for finite sets.")
+    (home-page "https://math-comp.github.io/";)
+    (license license:cecill-b)))
--
2.37.2





reply via email to

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