python310Packages.vivisect: switch to pythonRelaxDepsHook
This commit is contained in:
parent
9318364586
commit
1db4eb46ba
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user