diff --git a/pkgs/development/python-modules/vivisect/default.nix b/pkgs/development/python-modules/vivisect/default.nix index 6a844ebc0ab5..d8b5a7e9ee86 100644 --- a/pkgs/development/python-modules/vivisect/default.nix +++ b/pkgs/development/python-modules/vivisect/default.nix @@ -1,22 +1,17 @@ { lib , buildPythonPackage -, pythonOlder +, cxxfilt , fetchPypi -, wrapQtAppsHook - -# propagates +, msgpack , pyasn1 , pyasn1-modules -, cxxfilt -, msgpack , pycparser - -# extras: gui , pyqt5 +, pythonRelaxDepsHook , pyqtwebengine - -# knobs +, pythonOlder , withGui ? false +, wrapQtAppsHook }: buildPythonPackage rec { @@ -31,12 +26,14 @@ buildPythonPackage rec { hash = "sha256-tAIhsHFds3qwPngfOsR1+xDKgi29ACnvFAYoklRnCAI="; }; - postPatch = '' - substituteInPlace setup.py \ - --replace 'cxxfilt>=0.2.1,<0.3.0' 'cxxfilt' - ''; + pythonRelaxDeps = [ + "cxxfilt" + "pyasn1" + "pyasn1-modules" + ]; nativeBuildInputs = [ + pythonRelaxDepsHook wrapQtAppsHook ]; @@ -65,7 +62,7 @@ buildPythonPackage rec { ]; meta = with lib; { - description = "Pure python disassembler, debugger, emulator, and static analysis framework"; + description = "Python disassembler, debugger, emulator, and static analysis framework"; homepage = "https://github.com/vivisect/vivisect"; changelog = "https://github.com/vivisect/vivisect/blob/v${version}/CHANGELOG.rst"; license = licenses.asl20;