Files
nixpkgs/pkgs/development/python-modules/claripy/default.nix
T
Martin Weinelt fda13875da Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/deebot-client/default.nix
- pkgs/development/python-modules/pytest-examples/default.nix
- pkgs/development/python-modules/w3lib/default.nix
2024-07-05 13:04:01 +02:00

53 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
cachetools,
decorator,
fetchFromGitHub,
pysmt,
pytestCheckHook,
pythonOlder,
setuptools,
z3-solver,
}:
buildPythonPackage rec {
pname = "claripy";
version = "9.2.109";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "angr";
repo = "claripy";
rev = "refs/tags/v${version}";
hash = "sha256-loDB5y5j8hVmQL2zZf/az6jsRJKRRNWlcRp2WjS90Hc=";
};
# z3 does not provide a dist-info, so python-runtime-deps-check will fail
pythonRemoveDeps = [ "z3-solver" ];
build-system = [
setuptools
];
dependencies = [
cachetools
decorator
pysmt
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 = with licenses; [ bsd2 ];
maintainers = with maintainers; [ fab ];
};
}