summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/tcpip/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/tcpip/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/tcpip/default.nix17
1 files changed, 7 insertions, 10 deletions
diff --git a/pkgs/development/ocaml-modules/tcpip/default.nix b/pkgs/development/ocaml-modules/tcpip/default.nix
index 0cd57ba9c8ff..90100c2d5b57 100644
--- a/pkgs/development/ocaml-modules/tcpip/default.nix
+++ b/pkgs/development/ocaml-modules/tcpip/default.nix
@@ -1,7 +1,7 @@
{ lib, buildDunePackage, fetchurl
-, bisect_ppx, ppx_cstruct, pkg-config
-, rresult, cstruct, cstruct-lwt, mirage-net, mirage-clock
-, mirage-random, mirage-stack, mirage-protocols, mirage-time
+, ppx_cstruct, pkg-config
+, cstruct, cstruct-lwt, mirage-net, mirage-clock
+, mirage-random, mirage-time
, ipaddr, macaddr, macaddr-cstruct, mirage-profile, fmt
, lwt, lwt-dllist, logs, duration, randomconv, ethernet
, alcotest, mirage-flow, mirage-vnetif, pcap-format
@@ -19,7 +19,7 @@ buildDunePackage rec {
src = fetchurl {
url = "https://github.com/mirage/mirage-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
- sha256 = "sha256-lraur6NfFD9yddG+y21jlHKt82gLgYBBbedltlgcRm0=";
+ hash = "sha256-lraur6NfFD9yddG+y21jlHKt82gLgYBBbedltlgcRm0=";
};
nativeBuildInputs = [
@@ -27,17 +27,12 @@ buildDunePackage rec {
];
propagatedBuildInputs = [
- bisect_ppx
ppx_cstruct
- rresult
cstruct
cstruct-lwt
mirage-net
mirage-clock
mirage-random
- mirage-random-test
- mirage-stack
- mirage-protocols
mirage-time
ipaddr
macaddr
@@ -53,13 +48,15 @@ buildDunePackage rec {
lru
metrics
arp
+ mirage-flow
] ++ lib.optionals withFreestanding [
ocaml-freestanding
];
- doCheck = false;
+ doCheck = true;
checkInputs = [
alcotest
+ mirage-random-test
mirage-flow
mirage-vnetif
pcap-format