10 buildPythonPackage rec {
13 format = "setuptools";
15 disabled = pythonOlder "3.7";
17 src = fetchFromGitHub {
21 hash = "sha256-GN8yFnS7HVgIP73/nVtYnwwhCBI9doGHLGSOaFiWIdw=";
24 propagatedBuildInputs = [ nettools ];
26 nativeCheckInputs = [ pytestCheckHook ];
28 pythonImportsCheck = [ "pytap2" ];
31 description = "Object-oriented wrapper around the Linux Tun/Tap device";
32 homepage = "https://github.com/johnthagen/pytap2";
33 license = with licenses; [ mit ];
34 maintainers = with maintainers; [ fab ];
35 platforms = platforms.linux;