2015-09-06 21:15:10 +02:00
|
|
|
{stdenv, buildOcaml, fetchurl, type_conv, pa_ounit}:
|
2015-05-22 05:50:32 +02:00
|
|
|
|
|
|
|
buildOcaml rec {
|
2015-09-06 21:15:10 +02:00
|
|
|
name = "pa_bench";
|
2018-03-21 05:01:20 +01:00
|
|
|
version = "113.00.00";
|
2015-05-22 05:50:32 +02:00
|
|
|
|
|
|
|
minimumSupportedOcamlVersion = "4.00";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/janestreet/pa_bench/archive/${version}.tar.gz";
|
2018-03-21 05:01:20 +01:00
|
|
|
sha256 = "1cd6291gdnk6h8ziclg6x3if8z5xy67nfz9gx8sx4k2cwv0j29k5";
|
2015-05-22 05:50:32 +02:00
|
|
|
};
|
|
|
|
|
2015-09-06 21:15:10 +02:00
|
|
|
buildInputs = [ pa_ounit ];
|
|
|
|
propagatedBuildInputs = [ type_conv ];
|
2015-05-22 05:50:32 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/janestreet/pa_bench;
|
|
|
|
description = "Syntax extension for inline benchmarks";
|
|
|
|
license = stdenv.lib.licenses.asl20;
|
|
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
|
|
};
|
|
|
|
}
|