python312Packages.claripy: fix z3-solver issue

This commit is contained in:
Fabian Affolter 2024-03-28 23:05:10 +01:00
parent 64c81edb4b
commit e27adc4072
1 changed files with 12 additions and 7 deletions

View File

@ -1,13 +1,13 @@
{ lib
, buildPythonPackage
, setuptools
, cachetools
, decorator
, fetchFromGitHub
, future
, pysmt
, pythonOlder
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, setuptools
, z3-solver
}:
@ -25,17 +25,22 @@ buildPythonPackage rec {
hash = "sha256-wgCWMngda0gB+AEDFpRxQ2ots5YXE4bkBSxMtYJqLEo=";
};
nativeBuildInputs = [
# z3 does not provide a dist-info, so python-runtime-deps-check will fail
pythonRemoveDeps = [
"z3-solver"
];
build-system = [
pythonRelaxDepsHook
setuptools
];
propagatedBuildInputs = [
dependencies = [
cachetools
decorator
future
pysmt
z3-solver
];
] ++ z3-solver.requiredPythonModules;
nativeCheckInputs = [
pytestCheckHook