2016-09-14 00:21:56 +00:00
|
|
|
{stdenv, buildOcaml, fetchurl, type_conv, sexplib_p4, pa_ounit}:
|
2015-05-12 00:16:27 +00:00
|
|
|
|
|
|
|
buildOcaml rec {
|
2015-09-06 19:15:10 +00:00
|
|
|
name = "custom_printf";
|
2015-05-12 00:16:27 +00:00
|
|
|
version = "112.24.00";
|
|
|
|
|
|
|
|
minimumSupportedOcamlVersion = "4.02";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/janestreet/custom_printf/archive/${version}.tar.gz";
|
|
|
|
sha256 = "dad3aface92c53e8fbcc12cc9358c4767cb1cb09857d4819a10ed98eccaca8f9";
|
|
|
|
};
|
|
|
|
|
2015-09-06 19:15:10 +00:00
|
|
|
buildInputs = [ pa_ounit ];
|
2016-09-14 00:21:56 +00:00
|
|
|
propagatedBuildInputs = [ type_conv sexplib_p4 ];
|
2015-05-12 00:16:27 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/janestreet/custom_printf;
|
|
|
|
description = "Syntax extension for printf format strings";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
|
|
};
|
|
|
|
}
|