|
| 1 | +synopsis: "Language Server Protocol native server for Coq" |
| 2 | +description: |
| 3 | +""" |
| 4 | +Language Server Protocol native server for Coq |
| 5 | +""" |
| 6 | +opam-version: "2.0" |
| 7 | +maintainer: "e@x80.org" |
| 8 | +bug-reports: "https://github.com/ejgallego/coq-lsp/issues" |
| 9 | +homepage: "https://github.com/ejgallego/coq-lsp" |
| 10 | +dev-repo: "git+https://github.com/ejgallego/coq-lsp.git" |
| 11 | +authors: [ |
| 12 | + "Emilio Jesús Gallego Arias <e@x80.org>" |
| 13 | + "Ali Caglayan <alizter@gmail.com>" |
| 14 | + "Shachar Itzhaky <shachari@cs.technion.ac.il>" |
| 15 | + "Ramkumar Ramachandra <r@artagnon.com>" |
| 16 | +] |
| 17 | +license: "LGPL-2.1-or-later" |
| 18 | +doc: "https://ejgallego.github.io/coq-lsp/" |
| 19 | + |
| 20 | +depends: [ |
| 21 | + |
| 22 | + ("ocaml" {>= "5.0"} | ("ocaml" {<= "5.0"} & "memprof-limits" { >= "0.2.1" } )) |
| 23 | + |
| 24 | + "dune" { >= "3.13.0" } # Version interval [3.8-3.12] was |
| 25 | + # broken for composed builds with Coq |
| 26 | + |
| 27 | + # lsp dependencies |
| 28 | + "cmdliner" { >= "1.1.0" } |
| 29 | + "yojson" { >= "1.7.0" } |
| 30 | + "uri" { >= "4.2.0" } |
| 31 | + "dune-build-info" { >= "3.2.0" } |
| 32 | + |
| 33 | + # coq-layout-printer |
| 34 | + "tyxml" { >= "4.5.0" } |
| 35 | + |
| 36 | + # for waterproof json parser |
| 37 | + "menhir" { >= "20220210" } |
| 38 | + |
| 39 | + # unit testing |
| 40 | + "ppx_inline_test" { >= "v0.15.0" } |
| 41 | + |
| 42 | + # This is now a hard dep due to API changes in 1.9.7 |
| 43 | + "ocamlfind" { >= "1.9.8" } |
| 44 | + |
| 45 | + # v9.0 |
| 46 | + "rocq-prover" { >= "9.0" < "9.1" } |
| 47 | + |
| 48 | + # serlib deps |
| 49 | + "ppx_deriving" { >= "5.2" } |
| 50 | + "ppx_deriving_yojson" { >= "3.7.0" } |
| 51 | + "ppx_import" { >= "1.11.0" } |
| 52 | + "sexplib" { >= "v0.15.0" & < "v0.18" } |
| 53 | + "ppx_sexp_conv" { >= "v0.15.0" & < "v0.18" } |
| 54 | + "ppx_compare" { >= "v0.15.0" & < "v0.18" } |
| 55 | + "ppx_hash" { >= "v0.15.0" & < "v0.18" } |
| 56 | +] |
| 57 | + |
| 58 | +# older results get in mess with ppx_deriving, we cannot control how |
| 59 | +# it gets pulled, often in min-bound rev-dep, so we conflict with it |
| 60 | +conflicts: [ "result" { < "1.5" } ] |
| 61 | + |
| 62 | +depopts: ["lwt" "logs"] |
| 63 | + |
| 64 | +build: [ |
| 65 | + [ "rm" "-rf" "vendor" ] |
| 66 | + [ "dune" "build" "-p" name "-j" jobs ] |
| 67 | +] |
| 68 | +run-test: [ [ "dune" "runtest" "-p" name "-j" jobs ] ] |
| 69 | + |
| 70 | +x-maintenance-intent: [ "(latest)" ] |
| 71 | +url { |
| 72 | + src: |
| 73 | + "https://github.com/ejgallego/coq-lsp/releases/download/0.2.4%2B9.0/coq-lsp-0.2.4.9.0.tbz" |
| 74 | + checksum: [ |
| 75 | + "sha256=b6bf58331589b0bc750c01cc96a607322cf20260e61bd74f64998e04a9b909d3" |
| 76 | + "sha512=b74f88117a180b089f99dc2d0cd867bdeb7aef071fa487334cdd2961ac61b9ba592e7f58c509dd6920ca2708dcc64992944009d4dce504bb5d0e28bb7d963c07" |
| 77 | + ] |
| 78 | +} |
| 79 | +x-commit-hash: "ea06992c3428dbae678e9a803304669a79859a31" |
| 80 | + |
| 81 | +# Only for 0.2.4 due to a silly build system issue, note that rocq-lsp works fine in 32bit systems |
| 82 | +available: arch != "arm32" & arch != "x86_32" |
0 commit comments