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/releases/download/V8.13.1/coq-8.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" }