ocamlPackages.tuntap: 2.0.0 → 2.0.1 (#447374)

This commit is contained in:
Vincent Laporte
2025-10-07 03:10:06 +00:00
committed by GitHub

View File

@@ -4,26 +4,20 @@
fetchurl, fetchurl,
ipaddr, ipaddr,
macaddr, macaddr,
cmdliner,
}: }:
buildDunePackage rec { buildDunePackage (finalAttrs: {
pname = "tuntap"; pname = "tuntap";
version = "2.0.0"; version = "2.0.1";
duneVersion = "3";
minimalOCamlVersion = "4.04.2";
src = fetchurl { src = fetchurl {
url = "https://github.com/mirage/ocaml-tuntap/releases/download/v${version}/tuntap-v${version}.tbz"; url = "https://github.com/mirage/ocaml-tuntap/releases/download/v${finalAttrs.version}/tuntap-${finalAttrs.version}.tbz";
sha256 = "12wmls28h3jzikwyfw08d5f7ycsc9njwzbhd3qk2l8jnf5rakfsa"; hash = "sha256-J8YBl8w7xFloDqt/Xiz03KCIls5BR72VT8X/LYZMDN0=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
ipaddr ipaddr
macaddr macaddr
cmdliner
]; ];
# tests manipulate network devices and use network # tests manipulate network devices and use network
@@ -34,6 +28,5 @@ buildDunePackage rec {
description = "Bindings to the UNIX tuntap facility"; description = "Bindings to the UNIX tuntap facility";
homepage = "https://github.com/mirage/ocaml-tuntap"; homepage = "https://github.com/mirage/ocaml-tuntap";
license = lib.licenses.isc; license = lib.licenses.isc;
mainProgram = "otunctl";
}; };
} })