about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/pa_bench/default.nix
blob: e5f9ac52067d07d1d17ef64c89fa9a3955fe7f9a (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
{lib, 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 lib; {
    homepage = "https://github.com/janestreet/pa_bench";
    description = "Syntax extension for inline benchmarks";
    license = licenses.asl20;
    maintainers = [ maintainers.ericbmerritt ];
  };
}