Unverified Commit ea839424 authored by Vincent Laporte's avatar Vincent Laporte Committed by GitHub
Browse files

ocamlPackages.tuntap: 2.0.0 → 2.0.1 (#447374)

parents aa0ebc25 ff17a22a
Loading
Loading
Loading
Loading
+5 −12
Original line number Diff line number Diff line
@@ -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";
  };
}
})