ocamlPackages.cohttp: 0.22.0 -> 0.99.0
ocamlPackages.conduit: 0.15.4 -> 1.0.0 ocamlPackages.cohttp-lwt: init at 0.99.0 ocamlPackages.cohttp-lwt-unix: init at 0.99.0 ocamlPackages.conduit-lwt: init at 1.0.0 ocamlPackages.conduit-lwt-unix: init at 1.0.0 ocamlPackages.git: 1.11.1 -> 1.11.2
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{ stdenv, ocaml, findlib, jbuilder, conduit-lwt
|
||||
, logs, ppx_sexp_conv
|
||||
}:
|
||||
|
||||
if !stdenv.lib.versionAtLeast conduit-lwt.version "1.0"
|
||||
then conduit-lwt
|
||||
else
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ocaml${ocaml.version}-conduit-lwt-unix-${version}";
|
||||
inherit (conduit-lwt) version src installPhase meta;
|
||||
|
||||
buildInputs = [ ocaml findlib jbuilder ppx_sexp_conv ];
|
||||
|
||||
propagatedBuildInputs = [ conduit-lwt logs ];
|
||||
|
||||
buildPhase = "jbuilder build -p conduit-lwt-unix";
|
||||
}
|
||||
Reference in New Issue
Block a user