2020-09-21 20:03:49 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, qcheck }:
|
2015-03-21 08:52:59 +00:00
|
|
|
|
2020-09-21 20:03:49 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "qtest";
|
2021-02-17 11:29:55 +00:00
|
|
|
version = "2.11.2";
|
2017-07-08 09:31:11 +00:00
|
|
|
|
2020-11-30 07:18:33 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2020-09-21 20:03:49 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vincent-hugot";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-02-17 11:29:55 +00:00
|
|
|
sha256 = "sha256-VLY8+Nu6md0szW4RVxTFwlSQ9kyrgUqf7wQEA6GW8BE=";
|
2015-03-21 08:52:59 +00:00
|
|
|
};
|
|
|
|
|
2020-09-21 20:03:49 +00:00
|
|
|
propagatedBuildInputs = [ qcheck ];
|
2015-03-21 08:52:59 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-09-21 20:03:49 +00: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
|
|
|
};
|
|
|
|
}
|