jbuilder: 1.0.1 -> dune: 1.1.1
This commit is contained in:
committed by
Vincent Laporte
parent
eb429c7c54
commit
fc19401d67
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, jbuilder, benchmark }:
|
||||
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, dune, benchmark }:
|
||||
|
||||
let param =
|
||||
if stdenv.lib.versionAtLeast ocaml.version "4.03"
|
||||
@@ -6,11 +6,11 @@ let param =
|
||||
version = "0.6";
|
||||
url = " https://github.com/Chris00/ocaml-rope/releases/download/0.6/rope-0.6.tbz";
|
||||
sha256 = "06pkbnkad2ck50jn59ggwv154yd9vb01abblihvam6p27m4za1pc";
|
||||
buildInputs = [ jbuilder ];
|
||||
buildInputs = [ dune ];
|
||||
extra = {
|
||||
unpackCmd = "tar -xjf $curSrc";
|
||||
buildPhase = "jbuilder build -p rope";
|
||||
inherit (jbuilder) installPhase;
|
||||
buildPhase = "dune build -p rope";
|
||||
inherit (dune) installPhase;
|
||||
};
|
||||
} else {
|
||||
version = "0.5";
|
||||
|
||||
Reference in New Issue
Block a user