Commit 1db4eb46 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python310Packages.vivisect: switch to pythonRelaxDepsHook

parent 93183645
Loading
Loading
Loading
Loading
+12 −15
Original line number Diff line number Diff line
{ 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;