Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
56 lines
1.0 KiB
Nix
56 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
cachetools,
|
|
decorator,
|
|
fetchFromGitHub,
|
|
pysmt,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
setuptools,
|
|
typing-extensions,
|
|
z3-solver,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "claripy";
|
|
version = "9.2.154";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "angr";
|
|
repo = "claripy";
|
|
tag = "v${version}";
|
|
hash = "sha256-90JX+VDWK/yKhuX6D8hbLxjIOS8vGKrN1PKR8iWjt2o=";
|
|
};
|
|
|
|
# z3 does not provide a dist-info, so python-runtime-deps-check will fail
|
|
pythonRemoveDeps = [ "z3-solver" ];
|
|
|
|
build-system = [
|
|
setuptools
|
|
];
|
|
|
|
dependencies = [
|
|
cachetools
|
|
decorator
|
|
pysmt
|
|
typing-extensions
|
|
z3-solver
|
|
]
|
|
++ z3-solver.requiredPythonModules;
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "claripy" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python abstraction layer for constraint solvers";
|
|
homepage = "https://github.com/angr/claripy";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|