|
| 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 | + |
| 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 < [email protected]>" |
| 13 | + "Ali Caglayan < [email protected]>" |
| 14 | + "Shachar Itzhaky < [email protected]>" |
| 15 | + "Ramkumar Ramachandra < [email protected]>" |
| 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.2.0" } |
| 25 | + |
| 26 | + # lsp dependencies |
| 27 | + "cmdliner" { >= "1.1.0" } |
| 28 | + "yojson" { >= "1.7.0" } |
| 29 | + "uri" { >= "4.2.0" } |
| 30 | + "dune-build-info" { >= "3.2.0" } |
| 31 | + |
| 32 | + # waterproof json parser |
| 33 | + "menhir" { >= "20220210" } |
| 34 | + |
| 35 | + # unit testing |
| 36 | + "ppx_inline_test" { >= "v0.15.0" } |
| 37 | + |
| 38 | + # Uncomment this for releases |
| 39 | + "coq" { >= "8.19" < "8.20" } |
| 40 | + |
| 41 | + # result dep, fixed in main, but kept for older releases |
| 42 | + "result" { >= "1.5" } |
| 43 | + |
| 44 | + # serlib deps: see what we need to keep for release |
| 45 | + "ppx_deriving" { >= "5.2" } |
| 46 | + "ppx_deriving_yojson" { >= "3.7.0" } |
| 47 | + "ppx_import" { >= "1.11.0" } |
| 48 | + "sexplib" { >= "v0.15.0" & < "v0.18" } |
| 49 | + "ppx_sexp_conv" { >= "v0.15.0" & < "v0.18" } |
| 50 | + "ppx_compare" { >= "v0.15.0" & < "v0.18" } |
| 51 | + "ppx_hash" { >= "v0.15.0" & < "v0.18" } |
| 52 | +] |
| 53 | + |
| 54 | +# older results get in mess with ppx_deriving, we cannot control how |
| 55 | +# it gets pulled, often in min-bound rev-dep, so we conflict with it |
| 56 | +conflicts: [ "result" { < "1.5" } ] |
| 57 | + |
| 58 | +depopts: ["lwt" "logs"] |
| 59 | + |
| 60 | +build: [ |
| 61 | + [ "rm" "-rf" "vendor" ] |
| 62 | + [ "dune" "build" "-p" name "-j" jobs ] |
| 63 | +] |
| 64 | +run-test: [ [ "dune" "runtest" "-p" name "-j" jobs ] ] |
| 65 | +url { |
| 66 | + src: |
| 67 | + "https://github.com/ejgallego/coq-lsp/releases/download/0.2.3%2B8.19/coq-lsp-0.2.3.8.19.tbz" |
| 68 | + checksum: [ |
| 69 | + "sha256=dd5d0993261d3742e77ccac8344307d97b507b265d8743ae0ce33d0b3fcfd98a" |
| 70 | + "sha512=76727400b27900fdd659af7f03c5f2cd979f50ea0c76ad6f5b5de56a53b9db06dba1e1c786fd3e8ab695e42d94c53d58415c0c5b5eef8192f9863eaf7dcca693" |
| 71 | + ] |
| 72 | +} |
| 73 | +x-commit-hash: "6ae0abde18735cdb9918f6641b61cee3ada485d7" |
0 commit comments