Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 24 lines 742 B view raw
1{ stdenv, buildOcaml, fetchurl, ocamlbuild, findlib 2, jbuilder, sexplib, ppx_sexp_conv, ppx_deriving }: 3 4buildOcaml rec { 5 name = "ipaddr"; 6 version = "2.8.0"; 7 8 src = fetchurl { 9 url = "https://github.com/mirage/ocaml-ipaddr/archive/${version}.tar.gz"; 10 sha256 = "1amb1pbm9ybpxy6190qygpj6nmbzzs2r6vx4xh5r6v89szx9rfxw"; 11 }; 12 13 buildInputs = [ findlib ocamlbuild jbuilder ppx_sexp_conv ]; 14 propagatedBuildInputs = [ ppx_deriving sexplib ]; 15 16 inherit (jbuilder) installPhase; 17 18 meta = with stdenv.lib; { 19 homepage = https://github.com/mirage/ocaml-ipaddr; 20 description = "A library for manipulation of IP (and MAC) address representations "; 21 license = licenses.isc; 22 maintainers = [ maintainers.ericbmerritt ]; 23 }; 24}