10 (mkCoqDerivation rec {
17 release."0.1.8+8.16".sha256 = "sha256-dEEAK5IXGjHB8D/fYJRQG/oCotoXJuWLxXB0GQlY2eo=";
18 release."0.2.2+8.17".sha256 = "sha256-dWPAwePbfTf2t+ydSd1Cnr2kKTDbvedmxm2+Z6F5zuM=";
19 release."0.2.2+8.18".sha256 = "sha256-0J/XaSvhnKHRlcWfG1xbUOyN4LDtK1SEahE9kpV7GK4=";
20 release."0.2.2+8.19".sha256 = "sha256-E2zO2SOU3nmTFf1yA1gefyIWTViUGNTTJ4r6fZYl6UY=";
21 release."0.2.2+8.20".sha256 = "sha256-9yHisA3YJ/KuolU53qcQAjuSIAZPY+4rnkWV9dpLc6c=";
26 lib.switch coq.coq-version [
49 nativeBuildInputs = [ makeWrapper ];
53 dune install -p ${pname} --prefix=$out --libdir $OCAMLFIND_DESTDIR
54 wrapProgram $out/bin/coq-lsp --prefix OCAMLPATH : $OCAMLPATH
58 propagatedBuildInputs = with coq.ocamlPackages; [
67 description = "Language Server Protocol and VS Code Extension for Coq";
68 homepage = "https://github.com/ejgallego/coq-lsp";
69 changelog = "https://github.com/ejgallego/coq-lsp/blob/${defaultVersion}/CHANGES.md";
70 maintainers = with maintainers; [ alizter ];
71 license = licenses.lgpl21Only;
75 o: with coq.ocamlPackages; {
76 propagatedBuildInputs =
77 o.propagatedBuildInputs
79 if o.version != null && lib.versions.isLe "0.1.9+8.19" o.version && o.version != "dev" then
97 patches = lib.optional (lib.versions.isEq "0.1.8" o.version) ./coq-loader.patch;