summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/alcotest/default.nix
blob: 3ebf0f3ed6bd322d623f7060073ea03c9132ce08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, buildDunePackage, fetchurl
, astring, cmdliner, fmt, uuidm, re, stdlib-shims
}:

buildDunePackage rec {
  pname = "alcotest";
  version = "1.0.1";

  src = fetchurl {
    url = "https://github.com/mirage/alcotest/releases/download/${version}/alcotest-${version}.tbz";
    sha256 = "1xlklxb83gamqbg8j5dzm5jk4mvcwkspxajh93p6vpw9ia1li1qc";
  };

  propagatedBuildInputs = [ astring cmdliner fmt uuidm re stdlib-shims ];

  meta = with lib; {
    homepage = "https://github.com/mirage/alcotest";
    description = "A lightweight and colourful test framework";
    license = licenses.isc;
    maintainers = [ maintainers.ericbmerritt ];
  };
}