1 { lib, buildDunePackage, fetchurl
3 , cstruct, cstruct-lwt, mirage-net, mirage-clock
4 , mirage-random, mirage-time
5 , macaddr, macaddr-cstruct, 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 {
19 url = "https://github.com/mirage/mirage-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
20 hash = "sha256-NrTBVr4WcCukxteBotqLoUYrIjcNFVcOERYFbL8CUjM=";
27 propagatedBuildInputs = [
48 ] ++ lib.optionals withFreestanding [
61 __darwinAllowLocalNetworking = true;
64 description = "OCaml TCP/IP networking stack, used in MirageOS";
65 homepage = "https://github.com/mirage/mirage-tcpip";
66 maintainers = [ maintainers.sternenseemann ];
67 license = licenses.isc;