ocaml-ipaddr: 2.6.1 -> 2.7.2

Keeps the legacy version under attribute `ipaddr_p4`;
it is needed for OCaml < 4.02 and some libraries (eg `conduit`).
This commit is contained in:
sternenseemann
2017-02-23 08:01:29 +00:00
committed by Vincent Laporte
parent 6c37a92b2b
commit 8352e0b38c
5 changed files with 49 additions and 20 deletions
@@ -1,6 +1,6 @@
{stdenv, fetchurl, ocaml, findlib, which, ocaml_react, ocaml_ssl,
ocaml_lwt, ocamlnet, ocaml_pcre, cryptokit, tyxml, ipaddr, zlib,
libev, openssl, ocaml_sqlite3, tree, uutf, makeWrapper
libev, openssl, ocaml_sqlite3, tree, uutf, makeWrapper, camlp4
}:
let mkpath = p: n:
@@ -18,7 +18,7 @@ stdenv.mkDerivation {
buildInputs = [ocaml which findlib ocaml_react ocaml_ssl ocaml_lwt
ocamlnet ocaml_pcre cryptokit tyxml ipaddr zlib libev openssl
ocaml_sqlite3 tree uutf makeWrapper ];
ocaml_sqlite3 tree uutf makeWrapper camlp4 ];
configureFlags = "--root $(out) --prefix /";