python310Packages.vivisect: switch to pythonRelaxDepsHook

This commit is contained in:
Fabian Affolter 2023-05-16 10:59:04 +02:00
parent 9318364586
commit 1db4eb46ba

View File

@ -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;