|
| 1 | +opam-version: "2.0" |
| 2 | +synopsis: "The Coq Proof Assistant -- Core Binaries and Tools" |
| 3 | +description: """ |
| 4 | +Coq is a formal proof management system. It provides |
| 5 | +a formal language to write mathematical definitions, executable |
| 6 | +algorithms and theorems together with an environment for |
| 7 | +semi-interactive development of machine-checked proofs. |
| 8 | + |
| 9 | +Typical applications include the certification of properties of |
| 10 | +programming languages (e.g. the CompCert compiler certification |
| 11 | +project, or the Bedrock verified low-level programming library), the |
| 12 | +formalization of mathematics (e.g. the full formalization of the |
| 13 | +Feit-Thompson theorem or homotopy type theory) and teaching. |
| 14 | + |
| 15 | +This package includes the Coq core binaries, plugins, and tools, but |
| 16 | +not the vernacular standard library. |
| 17 | + |
| 18 | +Note that in this setup, Coq needs to be started with the -boot and |
| 19 | +-noinit options, as will otherwise fail to find the regular Coq |
| 20 | +prelude, now living in the coq-stdlib package.""" |
| 21 | +maintainer: ["The Coq development team < [email protected]>"] |
| 22 | +authors: ["The Coq development team, INRIA, CNRS, and contributors"] |
| 23 | +license: "LGPL-2.1-only" |
| 24 | +homepage: "https://coq.inria.fr/" |
| 25 | +doc: "https://coq.github.io/doc/" |
| 26 | +bug-reports: "https://github.com/coq/coq/issues" |
| 27 | +depends: [ |
| 28 | + "dune" {>= "2.9"} |
| 29 | + "ocaml" {>= "4.09.0"} |
| 30 | + "ocamlfind" {>= "1.8.1"} |
| 31 | + "zarith" {>= "1.11"} |
| 32 | + "ounit2" {with-test} |
| 33 | +] |
| 34 | +conflicts: [ |
| 35 | + "coq" { < "8.17" } |
| 36 | + "ocaml-option-bytecode-only" |
| 37 | +] |
| 38 | +build: [ |
| 39 | + [ "./configure" |
| 40 | + "-prefix" prefix |
| 41 | + "-mandir" man |
| 42 | + "-libdir" "%{lib}%/coq" |
| 43 | + "-native-compiler" "yes" {coq-native:installed} "no" {!coq-native:installed} |
| 44 | + ] |
| 45 | + [ |
| 46 | + "dune" |
| 47 | + "build" |
| 48 | + "-p" |
| 49 | + name |
| 50 | + "-j" |
| 51 | + jobs |
| 52 | + "@install" |
| 53 | + "@runtest" {with-test} |
| 54 | + "@doc" {with-doc} |
| 55 | + ] |
| 56 | +] |
| 57 | +dev-repo: "git+https://github.com/coq/coq.git" |
| 58 | +depopts: ["coq-native"] |
| 59 | + |
| 60 | +url { |
| 61 | + src: "https://github.com/coq/coq/archive/refs/tags/V8.17.0.tar.gz" |
| 62 | + checksum: "sha512=2f77bcb5211018b5d46320fd39fd34450eeb654aca44551b28bb50a2364398c4b34587630b6558db867ecfb63b246fd3e29dc2375f99967ff62bc002db9c3250" |
| 63 | +} |
0 commit comments