2021-04-18 17:44:33 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, isPy3k
|
|
|
|
, fetchPypi
|
|
|
|
, pyasn1
|
|
|
|
, pyasn1-modules
|
|
|
|
, cxxfilt
|
|
|
|
, msgpack
|
|
|
|
, pycparser
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "vivisect";
|
2021-06-18 22:47:42 +01:00
|
|
|
version = "0.2.1";
|
2021-04-18 17:44:33 +01:00
|
|
|
disabled = isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 22:47:42 +01:00
|
|
|
sha256 = "8fc4d2097a1d0d8d97aa8c540984cb52432df759f04f2281a21a4e1b7d1a95a7";
|
2021-04-18 17:44:33 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyasn1
|
|
|
|
pyasn1-modules
|
|
|
|
cxxfilt
|
|
|
|
msgpack
|
|
|
|
pycparser
|
|
|
|
];
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
sed "s@==.*'@'@" -i setup.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
# requires another repo for test files
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"vivisect"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Pure python disassembler, debugger, emulator, and static analysis framework";
|
|
|
|
homepage = "https://github.com/vivisect/vivisect";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = teams.determinatesystems.members;
|
|
|
|
};
|
|
|
|
}
|