jbuilder: 1.0.1 -> dune: 1.1.1

This commit is contained in:
Vincent Laporte
2018-09-05 16:11:47 +00:00
committed by Vincent Laporte
parent eb429c7c54
commit fc19401d67
69 changed files with 228 additions and 230 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, ocaml, findlib, jbuilder, git, cohttp-lwt
{ stdenv, ocaml, findlib, dune, git, cohttp-lwt
, alcotest, mtime, nocrypto
}:
@@ -6,16 +6,16 @@ stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-git-http-${version}";
inherit (git) version src;
buildInputs = [ ocaml findlib jbuilder alcotest mtime nocrypto ];
buildInputs = [ ocaml findlib dune alcotest mtime nocrypto ];
propagatedBuildInputs = [ git cohttp-lwt ];
buildPhase = "jbuilder build -p git-http";
buildPhase = "dune build -p git-http";
inherit (jbuilder) installPhase;
inherit (dune) installPhase;
doCheck = true;
checkPhase = "jbuilder runtest -p git-http";
checkPhase = "dune runtest -p git-http";
meta = {
description = "Client implementation of the Smart HTTP Git protocol in pure OCaml";