From d53978239b265066804a45b7607b010b9cb4c50c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 27 Dec 2021 23:18:31 +0100 Subject: [PATCH] expliot: releax pynetdicom constraint --- pkgs/tools/security/expliot/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/expliot/default.nix b/pkgs/tools/security/expliot/default.nix index 2a3c1df0e8f..848ee536380 100644 --- a/pkgs/tools/security/expliot/default.nix +++ b/pkgs/tools/security/expliot/default.nix @@ -22,8 +22,6 @@ buildPythonApplication rec { pname = "expliot"; version = "0.9.8"; - disabled = python3.pythonOlder "3.7"; - src = fetchFromGitLab { owner = "expliot_framework"; repo = pname; @@ -50,10 +48,18 @@ buildPythonApplication rec { zeroconf ]; + postPatch = '' + # https://gitlab.com/expliot_framework/expliot/-/merge_requests/113 + substituteInPlace setup.py \ + --replace "pynetdicom>=1.5.1,<2" "pynetdicom>=2,<3" + ''; + # Project has no tests doCheck = false; - pythonImportsCheck = [ "expliot" ]; + pythonImportsCheck = [ + "expliot" + ]; meta = with lib; { description = "IoT security testing and exploitation framework";