From ff17a22a9e7c3a6b75d54d9993d8ab9788c227f9 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 30 Sep 2025 05:20:22 +0200 Subject: [PATCH] =?UTF-8?q?ocamlPackages.tuntap:=202.0.0=20=E2=86=92=202.0?= =?UTF-8?q?.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ocaml-modules/tuntap/default.nix | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/pkgs/development/ocaml-modules/tuntap/default.nix b/pkgs/development/ocaml-modules/tuntap/default.nix index d1d2579e39df..3f07f7794e93 100644 --- a/pkgs/development/ocaml-modules/tuntap/default.nix +++ b/pkgs/development/ocaml-modules/tuntap/default.nix @@ -4,26 +4,20 @@ fetchurl, ipaddr, macaddr, - cmdliner, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "tuntap"; - version = "2.0.0"; - - duneVersion = "3"; - - minimalOCamlVersion = "4.04.2"; + version = "2.0.1"; src = fetchurl { - url = "https://github.com/mirage/ocaml-tuntap/releases/download/v${version}/tuntap-v${version}.tbz"; - sha256 = "12wmls28h3jzikwyfw08d5f7ycsc9njwzbhd3qk2l8jnf5rakfsa"; + url = "https://github.com/mirage/ocaml-tuntap/releases/download/v${finalAttrs.version}/tuntap-${finalAttrs.version}.tbz"; + hash = "sha256-J8YBl8w7xFloDqt/Xiz03KCIls5BR72VT8X/LYZMDN0="; }; propagatedBuildInputs = [ ipaddr macaddr - cmdliner ]; # tests manipulate network devices and use network @@ -34,6 +28,5 @@ buildDunePackage rec { description = "Bindings to the UNIX tuntap facility"; homepage = "https://github.com/mirage/ocaml-tuntap"; license = lib.licenses.isc; - mainProgram = "otunctl"; }; -} +})