about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/pa_bench/default.nix
blob: d8ce0dbc7eacaa4c85f50190eb2aa3e167f30bfc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{stdenv, buildOcaml, fetchurl, type_conv, pa_ounit}:

buildOcaml rec {
  name = "pa_bench";
  version = "112.06.00";

  minimumSupportedOcamlVersion = "4.00";

  src = fetchurl {
    url = "https://github.com/janestreet/pa_bench/archive/${version}.tar.gz";
    sha256 = "e3401e37f1d3d4acb957fd46a192d0ffcefeb0bedee63bbeb26969af1d540870";
  };

  buildInputs = [ pa_ounit ];
  propagatedBuildInputs = [ type_conv ];

  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 ];
  };
}