2020-09-25 04:45:31 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, qcheck }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "qtest";
|
2020-11-21 19:51:51 +00:00
|
|
|
version = "2.11.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vincent-hugot";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-11-21 19:51:51 +00:00
|
|
|
sha256 = "01aaqnblpkrkv1b2iy5cwn92vxdj4yjiav9s2nvvrqz5m8b9hi1f";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
propagatedBuildInputs = [ qcheck ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-09-25 04:45:31 +00:00
|
|
|
description = "Inline (Unit) Tests for OCaml";
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
maintainers = with lib.maintainers; [ vbgl ];
|
|
|
|
license = lib.licenses.gpl3;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|