summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/core-extended/default.nix
blob: aa6741e6520f4d78d3ed4f94051702a5b34e3411 (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
24
25
26
{stdenv, buildOcaml, fetchurl, bin-prot, comparelib, core, custom-printf,
 fieldslib, pa-bench, pa-ounit, pipebang, pa-test, textutils, re2, sexplib}:

buildOcaml rec {
  name = "core-extended";
  version = "112.24.00";

  minimumSupportedOcamlVersion = "4.02";

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

  hasSharedObjects = true;
  buildInputs = [ pa-bench pa-test pa-ounit ];
  propagatedBuildInputs = [bin-prot comparelib core custom-printf fieldslib
                           pipebang textutils re2 sexplib ];

  meta = with stdenv.lib; {
    homepage = https://github.com/janestreet/core_extended;
    description = "Jane Street Capital's standard library overlay";
    license = licenses.asl20;
    maintainers = [ maintainers.ericbmerritt ];
  };
}