ocaml-qtest: 2.0.1 -> 2.2

This commit is contained in:
Vincent Laporte 2016-09-14 19:04:58 +02:00
parent 8f2629aab6
commit 38c143abe2
2 changed files with 7 additions and 9 deletions

View File

@ -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 {
name = "ocaml-qtest-${version}";
src = fetchzip {
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 ];
buildPhase = "ocaml do.ml qtest build $out";
createFindlibDestdir = true;
installPhase = "ocaml do.ml qtest install $out";
installFlags = [ "BIN=$(out)/bin" ];
preInstall = "mkdir -p $out/bin";
meta = {
description = "Inline (Unit) Tests for OCaml (formerly qtest)";

View File

@ -5444,9 +5444,7 @@ in
oasis = ocaml_oasis;
};
qtest = callPackage ../development/ocaml-modules/qtest {
oasis = ocaml_oasis;
};
qtest = callPackage ../development/ocaml-modules/qtest { };
re = callPackage ../development/ocaml-modules/re { };