summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/custom_printf/default.nix
blob: 05a8ecfe616bfc8b74bd66ea28b398041536fca5 (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, sexplib, pa_ounit}:

buildOcaml rec {
  name = "custom_printf";
  version = "112.24.00";

  minimumSupportedOcamlVersion = "4.02";

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

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

  meta = with stdenv.lib; {
    homepage = https://github.com/janestreet/custom_printf;
    description = "Syntax extension for printf format strings";
    license = licenses.asl20;
    maintainers = [ maintainers.ericbmerritt ];
  };
}