about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/pa_bench/default.nix
blob: 2b821cd6dd6f9a3075c03472f8ad435ed19ec586 (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 = "113.00.00";

  minimumSupportedOcamlVersion = "4.00";

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

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