at 18.03-beta 23 lines 686 B view raw
1{stdenv, buildOcaml, fetchurl, type_conv, sexplib_p4, pa_ounit}: 2 3buildOcaml rec { 4 name = "custom_printf"; 5 version = "112.24.00"; 6 7 minimumSupportedOcamlVersion = "4.02"; 8 9 src = fetchurl { 10 url = "https://github.com/janestreet/custom_printf/archive/${version}.tar.gz"; 11 sha256 = "dad3aface92c53e8fbcc12cc9358c4767cb1cb09857d4819a10ed98eccaca8f9"; 12 }; 13 14 buildInputs = [ pa_ounit ]; 15 propagatedBuildInputs = [ type_conv sexplib_p4 ]; 16 17 meta = with stdenv.lib; { 18 homepage = https://github.com/janestreet/custom_printf; 19 description = "Syntax extension for printf format strings"; 20 license = licenses.asl20; 21 maintainers = [ maintainers.ericbmerritt ]; 22 }; 23}