1 { lib, buildDunePackage, fetchurl
2 , bisect_ppx, ppx_cstruct, pkg-config
3 , rresult, cstruct, cstruct-lwt, mirage-net, mirage-clock
4 , mirage-random, mirage-stack, mirage-protocols, mirage-time
5 , ipaddr, macaddr, macaddr-cstruct, mirage-profile, fmt
6 , lwt, lwt-dllist, logs, duration, randomconv, ethernet
7 , alcotest, mirage-flow, mirage-vnetif, pcap-format
8 , mirage-clock-unix, arp, ipaddr-cstruct, mirage-random-test
10 , withFreestanding ? false
14 buildDunePackage rec {
21 url = "https://github.com/mirage/mirage-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
22 sha256 = "sha256-lraur6NfFD9yddG+y21jlHKt82gLgYBBbedltlgcRm0=";
31 propagatedBuildInputs = [
56 ] ++ lib.optionals withFreestanding [
71 description = "OCaml TCP/IP networking stack, used in MirageOS";
72 homepage = "https://github.com/mirage/mirage-tcpip";
73 maintainers = [ maintainers.sternenseemann ];
74 license = licenses.isc;