-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
71 lines (68 loc) · 2.29 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
opam-version: "2.0"
maintainer: "coqdev@inria.fr"
authors: "The Coq development team, INRIA, CNRS, and contributors."
homepage: "https://coq.inria.fr/"
bug-reports: "https://github.com/coq/coq/issues"
dev-repo: "git+https://github.com/coq/coq.git"
license: "LGPL-2.1-only"
synopsis: "Formal proof management system"
description: """
The Coq proof assistant provides a formal language to write
mathematical definitions, executable algorithms, and theorems, together
with an environment for semi-interactive development of machine-checked
proofs. Typical applications include the certification of properties of programming
languages (e.g., the CompCert compiler certification project and the
Bedrock verified low-level programming library), the formalization of
mathematics (e.g., the full formalization of the Feit-Thompson theorem
and homotopy type theory) and teaching.
"""
depopts: [
"coq-native"
]
depends: [
"ocaml" {>= "4.05.0"}
"ocamlfind" {build}
"num"
"conf-findutils" {build}
"zarith" {>= "1.10"}
]
conflicts: [
"base-nnp"
"ocaml-option-nnpchecker"
]
build: [
[
"./configure"
"-configdir" "%{lib}%/coq/config"
"-prefix" prefix
"-mandir" man
"-docdir" doc
"-libdir" "%{lib}%/coq"
"-datadir" "%{share}%/coq"
"-coqide" "no"
"-native-compiler" "yes" {coq-native:installed} "no" {!coq-native:installed}
]
[make "COQ_USE_DUNE=" "-j%{jobs}%"]
[make "COQ_USE_DUNE=" "-j%{jobs}%" "byte"]
]
install: [
[make "COQ_USE_DUNE=" "install"]
[make "COQ_USE_DUNE=" "install-byte"]
]
patches: [ "disable_warn_70.patch" ]
url {
src: "https://github.com/coq/coq/archive/V8.13.1.tar.gz"
checksum: "sha256=95e71b16e6f3592e53d8bb679f051b062afbd12069a4105ffc9ee50e421d4685"
}
extra-source "disable_warn_70.patch" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/coq/disable_warn_70.patch.8.13.1"
checksum:
"sha512=b60c151be108b86650417797e82db13460825909b637f56765164e88f20c538a711ca9439bc8c4d91d61aa06ad652f920d9be4a5c14faf52e359a91958d27904"
}
extra-source "coq.install" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/coq/coq.install.8.13.1"
checksum:
"sha512=b501737b4dbd22adc1c0377d744448056fb1dc493caf72c05f57c8463cf23f758373605ab3a50b9f505e4c856c41039d0bd7f81f96ed62adc6a674179523e7d2"
}