python3Packages.pytap2: init at 2.2.0
This commit is contained in:
parent
480ba41242
commit
c811f0395a
2 changed files with 44 additions and 0 deletions
42
pkgs/development/python-modules/pytap2/default.nix
Normal file
42
pkgs/development/python-modules/pytap2/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, nettools
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pytap2";
|
||||||
|
version = "2.2.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "johnthagen";
|
||||||
|
repo = "pytap2";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-/t0Seg+8ZrOWOHBu9ftE1xkrnDeoYdHopXBvJTMGYRI=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
nettools
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"pytap2"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Object-oriented wrapper around the Linux Tun/Tap device";
|
||||||
|
homepage = "https://github.com/johnthagen/pytap2";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
|
@ -7505,6 +7505,8 @@ in {
|
||||||
|
|
||||||
pytankerkoenig = callPackage ../development/python-modules/pytankerkoenig { };
|
pytankerkoenig = callPackage ../development/python-modules/pytankerkoenig { };
|
||||||
|
|
||||||
|
pytap2 = callPackage ../development/python-modules/pytap2 { };
|
||||||
|
|
||||||
pytautulli = callPackage ../development/python-modules/pytautulli { };
|
pytautulli = callPackage ../development/python-modules/pytautulli { };
|
||||||
|
|
||||||
pyte = callPackage ../development/python-modules/pyte { };
|
pyte = callPackage ../development/python-modules/pyte { };
|
||||||
|
|
Loading…
Reference in a new issue