ocamlPackages.cohttp: use dune 3
This commit is contained in:
parent
4ad9083fee
commit
d3491557ef
|
@ -28,6 +28,8 @@ buildDunePackage {
|
||||||
src
|
src
|
||||||
;
|
;
|
||||||
|
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
buildInputs = [ ppx_sexp_conv ];
|
buildInputs = [ ppx_sexp_conv ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -9,6 +9,7 @@ buildDunePackage rec {
|
||||||
version = "5.0.0";
|
version = "5.0.0";
|
||||||
|
|
||||||
minimalOCamlVersion = "4.08";
|
minimalOCamlVersion = "4.08";
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/mirage/ocaml-cohttp/releases/download/v${version}/cohttp-${version}.tbz";
|
url = "https://github.com/mirage/ocaml-cohttp/releases/download/v${version}/cohttp-${version}.tbz";
|
||||||
|
|
|
@ -9,6 +9,8 @@ buildDunePackage {
|
||||||
pname = "cohttp-lwt-unix";
|
pname = "cohttp-lwt-unix";
|
||||||
inherit (cohttp-lwt) version src;
|
inherit (cohttp-lwt) version src;
|
||||||
|
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
buildInputs = [ cmdliner ppx_sexp_conv ];
|
buildInputs = [ cmdliner ppx_sexp_conv ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -7,6 +7,8 @@ buildDunePackage {
|
||||||
src
|
src
|
||||||
;
|
;
|
||||||
|
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
buildInputs = [ ppx_sexp_conv ];
|
buildInputs = [ ppx_sexp_conv ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -10,6 +10,8 @@ buildDunePackage {
|
||||||
|
|
||||||
inherit (cohttp) version src;
|
inherit (cohttp) version src;
|
||||||
|
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
nativeBuildInputs = [ ppx_sexp_conv ];
|
nativeBuildInputs = [ ppx_sexp_conv ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
Loading…
Reference in a new issue