python313Packages.unicorn: refactor
This commit is contained in:
parent
b52a2edf37
commit
355ad3b1e1
@ -2,6 +2,9 @@
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
capstone,
|
||||
pytestCheckHook,
|
||||
setuptools-scm,
|
||||
setuptools,
|
||||
unicorn,
|
||||
}:
|
||||
@ -32,17 +35,18 @@ buildPythonPackage rec {
|
||||
"macosx_11_0"
|
||||
];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
nativeCheckInputs = [
|
||||
capstone
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
mv unicorn unicorn.hidden
|
||||
patchShebangs sample_*.py shellcode.py
|
||||
sh -e sample_all.sh
|
||||
|
||||
runHook postCheck
|
||||
'';
|
||||
# this test does not appear to be intended as a pytest-style test
|
||||
disabledTests = [ "test_i386" ];
|
||||
|
||||
pythonImportsCheck = [ "unicorn" ];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user