summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/alcotest/default.nix
blob: ddc710bc7ed2a318414384f919babed948b4ce24 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, buildOcaml, fetchzip, cmdliner, stringext }:

buildOcaml rec {
  name = "alcotest";
  version = "0.4.5";

  src = fetchzip {
    url = "https://github.com/mirage/alcotest/archive/${version}.tar.gz";
    sha256 = "1wcn9hkjf4cbnrz99w940qfjpi0lvd8v63yxwpnafkff871dwk6k";
  };

  propagatedBuildInputs = [ cmdliner stringext ];

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