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

25 lines
534 B
Nix
Raw Normal View History

2020-09-21 22:03:49 +02:00
{ lib, buildDunePackage, fetchFromGitHub, qcheck }:
2020-09-21 22:03:49 +02:00
buildDunePackage rec {
pname = "qtest";
2021-02-17 12:29:55 +01:00
version = "2.11.2";
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=";
};
2020-09-21 22:03:49 +02:00
propagatedBuildInputs = [ qcheck ];
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;
};
}