Loading pkgs/development/python-modules/aiodhcpwatcher/default.nix 0 → 100644 +56 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub # build-system , poetry-core # dependencies , scapy # tests , pytest-asyncio , pytestCheckHook }: buildPythonPackage rec { pname = "aiodhcpwatcher"; version = "0.8.0"; pyproject = true; src = fetchFromGitHub { owner = "bdraco"; repo = "aiodhcpwatcher"; rev = "v${version}"; hash = "sha256-zZigXYUDSbXjlH810CgLa56xWYKcStBeKUbgsZ5WjOw="; }; postPatch = '' sed -i "/addopts =/d" pyproject.toml ''; build-system = [ poetry-core ]; dependencies = [ scapy ]; nativeCheckInputs = [ pytest-asyncio pytestCheckHook ]; pythonImportsCheck = [ "aiodhcpwatcher" ]; meta = with lib; { description = "Watch for DHCP packets with asyncio"; homepage = "https://github.com/bdraco/aiodhcpwatcher"; changelog = "https://github.com/bdraco/aiodhcpwatcher/blob/${src.rev}/CHANGELOG.md"; license = licenses.gpl3Only; maintainers = with maintainers; [ hexa ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -193,6 +193,8 @@ self: super: with self; { aiocurrencylayer = callPackage ../development/python-modules/aiocurrencylayer { }; aiodhcpwatcher = callPackage ../development/python-modules/aiodhcpwatcher { }; aiodiscover = callPackage ../development/python-modules/aiodiscover { }; aiodns = callPackage ../development/python-modules/aiodns { }; Loading Loading
pkgs/development/python-modules/aiodhcpwatcher/default.nix 0 → 100644 +56 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub # build-system , poetry-core # dependencies , scapy # tests , pytest-asyncio , pytestCheckHook }: buildPythonPackage rec { pname = "aiodhcpwatcher"; version = "0.8.0"; pyproject = true; src = fetchFromGitHub { owner = "bdraco"; repo = "aiodhcpwatcher"; rev = "v${version}"; hash = "sha256-zZigXYUDSbXjlH810CgLa56xWYKcStBeKUbgsZ5WjOw="; }; postPatch = '' sed -i "/addopts =/d" pyproject.toml ''; build-system = [ poetry-core ]; dependencies = [ scapy ]; nativeCheckInputs = [ pytest-asyncio pytestCheckHook ]; pythonImportsCheck = [ "aiodhcpwatcher" ]; meta = with lib; { description = "Watch for DHCP packets with asyncio"; homepage = "https://github.com/bdraco/aiodhcpwatcher"; changelog = "https://github.com/bdraco/aiodhcpwatcher/blob/${src.rev}/CHANGELOG.md"; license = licenses.gpl3Only; maintainers = with maintainers; [ hexa ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -193,6 +193,8 @@ self: super: with self; { aiocurrencylayer = callPackage ../development/python-modules/aiocurrencylayer { }; aiodhcpwatcher = callPackage ../development/python-modules/aiodhcpwatcher { }; aiodiscover = callPackage ../development/python-modules/aiodiscover { }; aiodns = callPackage ../development/python-modules/aiodns { }; Loading