depot/third_party/nixpkgs/pkgs/development/ocaml-modules/custom_printf/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

23 lines
688 B
Nix

{stdenv, buildOcaml, fetchurl, type_conv, sexplib_p4, 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_p4 ];
meta = with stdenv.lib; {
homepage = "https://github.com/janestreet/custom_printf";
description = "Syntax extension for printf format strings";
license = licenses.asl20;
maintainers = [ maintainers.ericbmerritt ];
};
}