python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / ocaml-modules / tuntap / default.nix
blob2bbf89c612731ead213e4337b04bc81960f3b96b
1 { lib, buildDunePackage, fetchurl
2 , ipaddr, macaddr, cmdliner
3 }:
5 buildDunePackage rec {
6   pname = "tuntap";
7   version = "2.0.0";
9   useDune2 = true;
11   minimumOCamlVersion = "4.04.2";
13   src = fetchurl {
14     url = "https://github.com/mirage/ocaml-tuntap/releases/download/v${version}/tuntap-v${version}.tbz";
15     sha256 = "12wmls28h3jzikwyfw08d5f7ycsc9njwzbhd3qk2l8jnf5rakfsa";
16   };
18   propagatedBuildInputs = [ ipaddr macaddr cmdliner ];
20   # tests manipulate network devices and use network
21   # also depend on LWT 5
22   doCheck = false;
24   meta = {
25     description = "Bindings to the UNIX tuntap facility";
26     homepage = "https://github.com/mirage/ocaml-tuntap";
27     license = lib.licenses.isc;
28     mainProgram = "otunctl";
29   };