diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index e4cce336eea7..44ae554b1029 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -1282,6 +1282,12 @@ githubId = 56009; name = "Arcadio Rubio GarcĂ­a"; }; + arcayr = { + email = "nix@arcayr.online"; + github = "arcayr"; + githubId = 11192354; + name = "Elliot Speck"; + }; archer-65 = { email = "mario.liguori.056@gmail.com"; github = "archer-65"; diff --git a/pkgs/tools/security/mitm6/default.nix b/pkgs/tools/security/mitm6/default.nix new file mode 100644 index 000000000000..a7587330e7b9 --- /dev/null +++ b/pkgs/tools/security/mitm6/default.nix @@ -0,0 +1,36 @@ +{ lib +, fetchPypi +, python3 +}: + +python3.pkgs.buildPythonApplication rec { + pname = "mitm6"; + version = "0.3.0"; + format = "setuptools"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-g+eFcJdgP7CQ6ntN17guJa4LdkGIb91mr/NKRPIukP8="; + }; + + propagatedBuildInputs = with python3.pkgs; [ + scapy + future + twisted + netifaces + ]; + + # No tests exist for mitm6. + doCheck = false; + + pythonImportsCheck = [ + "mitm6" + ]; + + meta = { + description = "DHCPv6 network spoofing application"; + homepage = "https://github.com/dirkjanm/mitm6"; + license = lib.licenses.gpl2Only; + maintainers = with lib.maintainers; [ arcayr ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 674ad274628f..56b7da3138d9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9950,6 +9950,8 @@ with pkgs; ministat = callPackage ../tools/misc/ministat { }; + mitm6 = callPackage ../tools/security/mitm6 { }; + mjolnir = callPackage ../servers/mjolnir { matrix-sdk-crypto-nodejs = matrix-sdk-crypto-nodejs-0_1_0-beta_3; };