2015-10-13 03:46:01 +02:00
|
|
|
{ stdenv, buildOcaml, fetchzip, cmdliner, stringext }:
|
2015-05-15 16:36:16 +02:00
|
|
|
|
|
|
|
buildOcaml rec {
|
|
|
|
name = "alcotest";
|
2015-10-13 03:46:01 +02:00
|
|
|
version = "0.4.5";
|
2015-05-15 16:36:16 +02:00
|
|
|
|
2015-10-13 03:46:01 +02:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/mirage/alcotest/archive/${version}.tar.gz";
|
|
|
|
sha256 = "1wcn9hkjf4cbnrz99w940qfjpi0lvd8v63yxwpnafkff871dwk6k";
|
2015-05-15 16:36:16 +02:00
|
|
|
};
|
|
|
|
|
2015-10-13 03:46:01 +02:00
|
|
|
propagatedBuildInputs = [ cmdliner stringext ];
|
2015-05-15 16:36:16 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2015-10-13 03:46:01 +02:00
|
|
|
homepage = https://github.com/mirage/alcotest;
|
2015-05-15 16:36:16 +02:00
|
|
|
description = "A lightweight and colourful test framework";
|
|
|
|
license = stdenv.lib.licenses.isc;
|
|
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
|
|
};
|
|
|
|
}
|