Skip to content

Commit 3651b6a

Browse files
authored
rocq-equations.dev package (#3320)
* rocq-equations.dev package Fix dependencies of coq/rocq-equations.dev package * Add dependency to coq, as dune relies on the coq compatibility packages * Fix rocq-equations.dev opam file
1 parent 6789159 commit 3651b6a

File tree

2 files changed

+49
-33
lines changed
  • extra-dev/packages
    • coq-equations/coq-equations.dev
    • rocq-equations/rocq-equations.dev

2 files changed

+49
-33
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,11 @@
11
opam-version: "2.0"
2-
authors: [ "Matthieu Sozeau <[email protected]>" "Cyprien Mangin <[email protected]>" ]
3-
dev-repo: "git+https://github.com/mattam82/Coq-Equations.git"
2+
authors: [ "Matthieu Sozeau <[email protected]>" ]
43
maintainer: "[email protected]"
54
homepage: "https://mattam82.github.io/Coq-Equations"
5+
dev-repo: "git+https://github.com/mattam82/Coq-Equations.git"
66
bug-reports: "https://github.com/mattam82/Coq-Equations/issues"
77
license: "LGPL-2.1-only"
8-
synopsis: "A function definition package for Coq"
9-
description: """
10-
Equations is a function definition plugin for Coq, that allows the
11-
definition of functions by dependent pattern-matching and well-founded,
12-
mutual or nested structural recursion and compiles them into core
13-
terms. It automatically derives the clauses equations, the graph of the
14-
function and its associated elimination principle.
15-
"""
16-
tags: [
17-
"keyword:dependent pattern-matching"
18-
"keyword:functional elimination"
19-
"category:Miscellaneous/Coq Extensions"
20-
"logpath:Equations"
21-
]
22-
build: [
23-
["./configure.sh" "--enable-hott" {coq-hott:installed} ]
24-
[make "-j%{jobs}%"]
25-
]
26-
install: [
27-
[make "install"]
28-
]
29-
run-test: [
30-
[make "test-suite"]
31-
]
328
depends: [
33-
"coq" {= "dev"}
34-
]
35-
depopts: [
36-
"coq-hott"
9+
"rocq-equations" { = "dev" }
3710
]
38-
url {
39-
src: "git+https://github.com/mattam82/Coq-Equations#main"
40-
}
11+
synopsis: "Compatibility package, see rocq-equations"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
opam-version: "2.0"
2+
synopsis: "A function definition package for Rocq"
3+
description:
4+
"Equations is a function definition plugin for Rocq, that allows the definition of functions by dependent pattern-matching and well-founded, mutual or nested structural recursion and compiles them into core terms. It automatically derives the clauses equations, the graph of the function and its associated elimination principle."
5+
maintainer: ["Matthieu Sozeau <[email protected]>"]
6+
authors: [
7+
"Matthieu Sozeau <[email protected]>"
8+
"Cyprien Mangin <[email protected]>"
9+
]
10+
license: "LGPL-2.1-only"
11+
tags: [
12+
"keyword:dependent pattern-matching"
13+
"keyword:functional elimination"
14+
"category:Miscellaneous/Coq Extensions"
15+
"logpath:Equations"
16+
]
17+
homepage: "https://mattam82.github.io/Coq-Equations"
18+
bug-reports: "https://github.com/mattam82/Coq-Equations/issues"
19+
depends: [
20+
"dune" {>= "3.13"}
21+
"ocaml" {>= "4.10.0"}
22+
"rocq-prover" { = "dev" }
23+
"coq" (* As dune coq lang relies on coq compatibility packages *)
24+
"ppx_optcomp" {build}
25+
"ocaml-lsp-server" {with-dev-setup}
26+
"odoc" {with-doc}
27+
]
28+
build: [
29+
["dune" "subst"] {dev}
30+
[
31+
"dune"
32+
"build"
33+
"-p"
34+
name
35+
"-j"
36+
jobs
37+
"@install"
38+
"@runtest" {with-test}
39+
"@doc" {with-doc}
40+
]
41+
]
42+
dev-repo: "git+https://github.com/mattam82/Coq-Equations.git"
43+
url {
44+
src: "git+https://github.com/mattam82/Coq-Equations#main"
45+
}

0 commit comments

Comments
 (0)