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