504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
54 lines
915 B
Nix
54 lines
915 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, setuptools
|
|
, cachetools
|
|
, decorator
|
|
, fetchFromGitHub
|
|
, future
|
|
, pysmt
|
|
, pythonOlder
|
|
, pytestCheckHook
|
|
, z3-solver
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "claripy";
|
|
version = "9.2.82";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "angr";
|
|
repo = "claripy";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-veJd3M2Jf6snXZsR4P0wQpC0rSbIFT92QgyFFI5Er4Y=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
cachetools
|
|
decorator
|
|
future
|
|
pysmt
|
|
z3-solver
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|