Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildDunePackage, fetchFromGitHub, qcheck }:
2
3buildDunePackage rec {
4 pname = "qtest";
5 version = "2.11.2";
6
7 duneVersion = "3";
8
9 src = fetchFromGitHub {
10 owner = "vincent-hugot";
11 repo = pname;
12 rev = "v${version}";
13 sha256 = "sha256-VLY8+Nu6md0szW4RVxTFwlSQ9kyrgUqf7wQEA6GW8BE=";
14 };
15
16 propagatedBuildInputs = [ qcheck ];
17
18 meta = {
19 description = "Inline (Unit) Tests for OCaml";
20 inherit (src.meta) homepage;
21 maintainers = with lib.maintainers; [ vbgl ];
22 license = lib.licenses.gpl3;
23 };
24}