nixpkgs/pkgs/development/ocaml-modules/qtest/default.nix

25 lines
534 B
Nix
Raw Normal View History

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