jbuilder: 1.0.1 -> dune: 1.1.1

This commit is contained in:
Vincent Laporte
2018-09-15 19:32:32 +00:00
committed by Vincent Laporte
parent eb429c7c54
commit fc19401d67
69 changed files with 228 additions and 230 deletions
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, ocaml, findlib, jbuilder, cstruct }:
{ stdenv, fetchurl, ocaml, findlib, dune, cstruct }:
if !stdenv.lib.versionAtLeast ocaml.version "4.02"
then throw "hex is not available for OCaml ${ocaml.version}"
@@ -16,13 +16,13 @@ stdenv.mkDerivation {
unpackCmd = "tar -xjf $curSrc";
buildInputs = [ ocaml findlib jbuilder ];
buildInputs = [ ocaml findlib dune ];
propagatedBuildInputs = [ cstruct ];
buildPhase = "jbuilder build -p hex";
buildPhase = "dune build -p hex";
doCheck = true;
checkPhase = "jbuilder runtest";
inherit (jbuilder) installPhase;
inherit (dune) installPhase;
meta = {
description = "Mininal OCaml library providing hexadecimal converters";