ocaml-qtest: 2.0.1 -> 2.2
This commit is contained in:
parent
8f2629aab6
commit
38c143abe2
|
@ -1,20 +1,20 @@
|
||||||
{ stdenv, fetchzip, ocaml, oasis, findlib, ounit }:
|
{ stdenv, fetchzip, ocaml, findlib, ounit }:
|
||||||
|
|
||||||
let version = "2.0.1"; in
|
let version = "2.2"; in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "ocaml-qtest-${version}";
|
name = "ocaml-qtest-${version}";
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://github.com/vincent-hugot/iTeML/archive/v${version}.tar.gz";
|
url = "https://github.com/vincent-hugot/iTeML/archive/v${version}.tar.gz";
|
||||||
sha256 = "00sir7q7z78s22w8fzrgw9gqm7r8ww0bgwqxrq6nsbbclgxj9c6i";
|
sha256 = "1k68z8kby1f9s5j9xbn9bz8yhk59aalffz8gj5d1y5zhyalifrlz";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ocaml oasis findlib ];
|
buildInputs = [ ocaml findlib ];
|
||||||
propagatedBuildInputs = [ ounit ];
|
propagatedBuildInputs = [ ounit ];
|
||||||
|
|
||||||
buildPhase = "ocaml do.ml qtest build $out";
|
|
||||||
createFindlibDestdir = true;
|
createFindlibDestdir = true;
|
||||||
installPhase = "ocaml do.ml qtest install $out";
|
installFlags = [ "BIN=$(out)/bin" ];
|
||||||
|
preInstall = "mkdir -p $out/bin";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Inline (Unit) Tests for OCaml (formerly “qtest”)";
|
description = "Inline (Unit) Tests for OCaml (formerly “qtest”)";
|
||||||
|
|
|
@ -5444,9 +5444,7 @@ in
|
||||||
oasis = ocaml_oasis;
|
oasis = ocaml_oasis;
|
||||||
};
|
};
|
||||||
|
|
||||||
qtest = callPackage ../development/ocaml-modules/qtest {
|
qtest = callPackage ../development/ocaml-modules/qtest { };
|
||||||
oasis = ocaml_oasis;
|
|
||||||
};
|
|
||||||
|
|
||||||
re = callPackage ../development/ocaml-modules/re { };
|
re = callPackage ../development/ocaml-modules/re { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue