diff --git a/pkgs/development/python-modules/malduck/default.nix b/pkgs/development/python-modules/malduck/default.nix index a9a8419a04dc..1b757a144ccf 100644 --- a/pkgs/development/python-modules/malduck/default.nix +++ b/pkgs/development/python-modules/malduck/default.nix @@ -35,8 +35,14 @@ buildPythonPackage rec { yara-python ]; + postPatch = '' + substituteInPlace requirements.txt \ + --replace "pefile==2019.4.18" "pefile" + ''; + # Project has no tests. They will come with the next release doCheck = false; + pythonImportsCheck = [ "malduck" ]; meta = with lib; {