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