Files
nixpkgs/pkgs/development/python-modules/claripy/default.nix
T
Martin Weinelt b79da2786f Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/development/python-modules/bundlewrap/default.nix
	pkgs/development/python-modules/coverage/default.nix
	pkgs/development/python-modules/h5netcdf/default.nix
	pkgs/development/python-modules/hypothesis/default.nix
	pkgs/development/python-modules/numba/default.nix
	pkgs/development/python-modules/optype/default.nix
	pkgs/development/python-modules/setuptools-git-versioning/default.nix
	pkgs/development/python-modules/sphinx/default.nix
2026-02-15 16:17:41 +01:00

53 lines
1006 B
Nix

{
lib,
buildPythonPackage,
cachetools,
decorator,
fetchFromGitHub,
pysmt,
pytestCheckHook,
setuptools,
typing-extensions,
z3-solver,
}:
buildPythonPackage rec {
pname = "claripy";
version = "9.2.193";
pyproject = true;
src = fetchFromGitHub {
owner = "angr";
repo = "claripy";
tag = "v${version}";
hash = "sha256-nZ7ORbhi0R79pcHpkx/lRVdfUsoutCqU+zHX8AICTUE=";
};
# 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 = {
description = "Python abstraction layer for constraint solvers";
homepage = "https://github.com/angr/claripy";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ fab ];
};
}