2018-08-21 17:17:57 +01:00
|
|
|
{ stdenv, buildOcaml, ocaml, fetchurl, ounit }:
|
|
|
|
|
|
|
|
if stdenv.lib.versionAtLeast ocaml.version "4.06"
|
|
|
|
then throw "pa_ounit is not available for OCaml ${ocaml.version}"
|
|
|
|
else
|
2015-05-22 04:36:10 +01:00
|
|
|
|
|
|
|
buildOcaml rec {
|
2015-09-06 20:15:10 +01:00
|
|
|
name = "pa_ounit";
|
2018-03-21 04:15:26 +00:00
|
|
|
version = "113.00.00";
|
2015-05-22 04:36:10 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/janestreet/pa_ounit/archive/${version}.tar.gz";
|
2018-03-21 04:15:26 +00:00
|
|
|
sha256 = "0vi0p2hxcrdsl0319c9s8mh9hmk2i4ir6c6vrj8axkc37zkgc437";
|
2015-05-22 04:36:10 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ounit ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/janestreet/pa_ounit;
|
|
|
|
description = "OCaml inline testing";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
|
|
};
|
|
|
|
}
|