diff --git a/pkgs/development/ocaml-modules/ethernet/default.nix b/pkgs/development/ocaml-modules/ethernet/default.nix index a27a91d9d8e9..c16534744d06 100644 --- a/pkgs/development/ocaml-modules/ethernet/default.nix +++ b/pkgs/development/ocaml-modules/ethernet/default.nix @@ -6,32 +6,23 @@ , lwt , macaddr , mirage-net -, mirage-profile -, ppx_cstruct }: buildDunePackage rec { pname = "ethernet"; - version = "3.0.0"; + version = "3.2.0"; minimalOCamlVersion = "4.08"; - duneVersion = "3"; - src = fetchurl { - url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz"; - hash = "sha256:0a898vp9dw42majsvzzvs8pc6x4ns01wlwhwbacixliv6vv78ng9"; + url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-${version}.tbz"; + hash = "sha256-TB2nAhQiHZ1Dk6n/3i49s9HKNH92yNUl3xl94hByrAk="; }; - buildInputs = [ - ppx_cstruct - ]; - propagatedBuildInputs = [ cstruct mirage-net macaddr - mirage-profile lwt logs ];