2020-09-21 21:03:49 +01:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, qcheck }:
|
2015-03-21 08:52:59 +00:00
|
|
|
|
2020-09-21 21:03:49 +01:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "qtest";
|
2020-11-03 14:48:05 +00:00
|
|
|
version = "2.11.1";
|
2017-07-08 10:31:11 +01:00
|
|
|
|
2020-09-21 21:03:49 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vincent-hugot";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-11-03 14:48:05 +00:00
|
|
|
sha256 = "01aaqnblpkrkv1b2iy5cwn92vxdj4yjiav9s2nvvrqz5m8b9hi1f";
|
2015-03-21 08:52:59 +00:00
|
|
|
};
|
|
|
|
|
2020-09-21 21:03:49 +01:00
|
|
|
propagatedBuildInputs = [ qcheck ];
|
2015-03-21 08:52:59 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-09-21 21:03:49 +01:00
|
|
|
description = "Inline (Unit) Tests for OCaml";
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
maintainers = with lib.maintainers; [ vbgl ];
|
|
|
|
license = lib.licenses.gpl3;
|
2015-03-21 08:52:59 +00:00
|
|
|
};
|
|
|
|
}
|