1{ stdenv, fetchurl, buildDunePackage, sexplib, ppx_sexp_conv }:
2
3buildDunePackage rec {
4 pname = "ipaddr";
5 version = "2.8.0";
6
7 src = fetchurl {
8 url = "https://github.com/mirage/ocaml-${pname}/archive/${version}.tar.gz";
9 sha256 = "1amb1pbm9ybpxy6190qygpj6nmbzzs2r6vx4xh5r6v89szx9rfxw";
10 };
11
12 propagatedBuildInputs = [ ppx_sexp_conv sexplib ];
13
14 meta = with stdenv.lib; {
15 homepage = https://github.com/mirage/ocaml-ipaddr;
16 description = "A library for manipulation of IP (and MAC) address representations ";
17 license = licenses.isc;
18 maintainers = [ maintainers.ericbmerritt ];
19 };
20}