|
| 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 <coqdev@inria.fr>"] |
| 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" {>= "3.6.1"} |
| 29 | + "ocaml" {>= "4.09.0"} |
| 30 | + "ocamlfind" {>= "1.8.1"} |
| 31 | + "zarith" {>= "1.11"} |
| 32 | + "conf-linux-libc-dev" {os = "linux"} |
| 33 | + "odoc" {with-doc} |
| 34 | +] |
| 35 | +conflicts: [ |
| 36 | + "coq" { < "8.17" } |
| 37 | +] |
| 38 | +depopts: ["coq-native" "memprof-limits" "memtrace"] |
| 39 | +dev-repo: "git+https://github.com/coq/coq.git" |
| 40 | +build: [ |
| 41 | + ["dune" "subst"] {dev} |
| 42 | + [ "./configure" |
| 43 | + "-prefix" prefix |
| 44 | + "-mandir" man |
| 45 | + "-libdir" "%{lib}%/coq" |
| 46 | + "-native-compiler" "yes" {coq-native:installed} "no" {!coq-native:installed} |
| 47 | + ] |
| 48 | + [ |
| 49 | + "dune" |
| 50 | + "build" |
| 51 | + "-p" |
| 52 | + name |
| 53 | + "-j" |
| 54 | + jobs |
| 55 | + "--promote-install-files=false" |
| 56 | + "@install" |
| 57 | + "@runtest" {with-test} |
| 58 | + "@doc" {with-doc} |
| 59 | + ] |
| 60 | + ["dune" "install" "-p" name "--create-install-files" name] |
| 61 | +] |
| 62 | + |
| 63 | +url { |
| 64 | + src: "https://github.com/coq/coq/releases/download/V8.20.1/coq-8.20.1.tar.gz" |
| 65 | + checksum: [ |
| 66 | + "md5=0cfaa70f569be9494d24c829e6555d46" |
| 67 | + "sha512=8ee967c636b67b22a4f34115871d8f9b9114df309afc9ddf5f61275251088c6e21f6cf745811df75554d30f4cebb6682f23eeb2e88b771330c4b60ce3f6bf5e2" |
| 68 | + ] |
| 69 | +} |
0 commit comments