diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2024-06-23 09:33:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-23 09:33:29 +0200 |
commit | 66bf601c326df5dd69a54378e93f9d83cca3e325 (patch) | |
tree | 86b5b9a8b908d7a0ba4c7a37af2f4c89939c0f00 /pkgs/tools | |
parent | d3f33b2fbb19d71947088c2d2a85316db22fc125 (diff) | |
parent | 42b430a343c097a57a612173d14194010ed6e6e6 (diff) |
Merge pull request #321769 from fabaff/mitm6
mitm6: refactor
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/security/mitm6/default.nix | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/pkgs/tools/security/mitm6/default.nix b/pkgs/tools/security/mitm6/default.nix index 518b61fd8d4b1..980bc703f4abe 100644 --- a/pkgs/tools/security/mitm6/default.nix +++ b/pkgs/tools/security/mitm6/default.nix @@ -1,37 +1,38 @@ -{ lib -, fetchPypi -, python3 +{ + lib, + fetchPypi, + python3, }: python3.pkgs.buildPythonApplication rec { pname = "mitm6"; version = "0.3.0"; - format = "setuptools"; + pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-g+eFcJdgP7CQ6ntN17guJa4LdkGIb91mr/NKRPIukP8="; }; - propagatedBuildInputs = with python3.pkgs; [ - scapy + build-system = with python3.pkgs; [ setuptools ]; + + dependencies = with python3.pkgs; [ future - twisted netifaces + scapy + twisted ]; # No tests exist for mitm6. doCheck = false; - pythonImportsCheck = [ - "mitm6" - ]; + pythonImportsCheck = [ "mitm6" ]; meta = { description = "DHCPv6 network spoofing application"; - mainProgram = "mitm6"; homepage = "https://github.com/dirkjanm/mitm6"; license = lib.licenses.gpl2Only; - maintainers = with lib.maintainers; [ ]; + maintainers = with lib.maintainers; [ fab ]; + mainProgram = "mitm6"; }; } |