1{stdenv, buildOcaml, fetchurl, ounit, re, cmdliner}:
2
3buildOcaml rec {
4 name = "alcotest";
5 version = "0.3.1";
6
7 src = fetchurl {
8 url = "https://github.com/samoht/alcotest/archive/${version}.tar.gz";
9 sha256 = "a0e6c9a33c59b206ecc949655fa6e17bdd1078c8b610b14d8f6f0f1b489b0b43";
10 };
11
12 propagatedBuildInputs = [ ounit re cmdliner ];
13
14 meta = with stdenv.lib; {
15 homepage = https://github.com/samoht/alcotest;
16 description = "A lightweight and colourful test framework";
17 license = stdenv.lib.licenses.isc;
18 maintainers = [ maintainers.ericbmerritt ];
19 };
20}