2020-09-21 22:03:49 +02:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, qcheck }:
|
2015-03-21 09:52:59 +01:00
|
|
|
|
2020-09-21 22:03:49 +02:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "qtest";
|
2021-02-17 12:29:55 +01:00
|
|
|
version = "2.11.2";
|
2017-07-08 11:31:11 +02:00
|
|
|
|
2020-11-30 08:18:33 +01:00
|
|
|
useDune2 = true;
|
|
|
|
|
2020-09-21 22:03:49 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vincent-hugot";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-02-17 12:29:55 +01:00
|
|
|
sha256 = "sha256-VLY8+Nu6md0szW4RVxTFwlSQ9kyrgUqf7wQEA6GW8BE=";
|
2015-03-21 09:52:59 +01:00
|
|
|
};
|
|
|
|
|
2020-09-21 22:03:49 +02:00
|
|
|
propagatedBuildInputs = [ qcheck ];
|
2015-03-21 09:52:59 +01:00
|
|
|
|
|
|
|
meta = {
|
2020-09-21 22:03:49 +02:00
|
|
|
description = "Inline (Unit) Tests for OCaml";
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
maintainers = with lib.maintainers; [ vbgl ];
|
|
|
|
license = lib.licenses.gpl3;
|
2015-03-21 09:52:59 +01:00
|
|
|
};
|
|
|
|
}
|