diff --git a/pkgs/development/ocaml-modules/ipaddr/default.nix b/pkgs/development/ocaml-modules/ipaddr/default.nix index 0b561ab6d695..14cbae6c6f8b 100644 --- a/pkgs/development/ocaml-modules/ipaddr/default.nix +++ b/pkgs/development/ocaml-modules/ipaddr/default.nix @@ -1,24 +1,24 @@ { stdenv, buildOcaml, fetchurl, ocamlbuild, findlib -, topkg, sexplib, ppx_sexp_conv, opam }: +, jbuilder, sexplib, ppx_sexp_conv, ppx_deriving }: buildOcaml rec { name = "ipaddr"; - version = "2.7.2"; + version = "2.8.0"; src = fetchurl { url = "https://github.com/mirage/ocaml-ipaddr/archive/${version}.tar.gz"; - sha256 = "0mnjw1xjr8vyn5x1nnbbxfxhs77znwrkz8c144w47zk2pc3xrh9d"; + sha256 = "1amb1pbm9ybpxy6190qygpj6nmbzzs2r6vx4xh5r6v89szx9rfxw"; }; - buildInputs = [ findlib ocamlbuild topkg ppx_sexp_conv opam ]; - propagatedBuildInputs = [ sexplib ]; + buildInputs = [ findlib ocamlbuild jbuilder ppx_sexp_conv ]; + propagatedBuildInputs = [ ppx_deriving sexplib ]; - inherit (topkg) buildPhase installPhase; + inherit (jbuilder) installPhase; meta = with stdenv.lib; { homepage = https://github.com/mirage/ocaml-ipaddr; description = "A library for manipulation of IP (and MAC) address representations "; - license = licenses.mit; + license = licenses.isc; maintainers = [ maintainers.ericbmerritt ]; }; }